0
I am starting a project and I have a question, what is the best way to configure the body of the page before styling the other elements? beyond the body of the page you use a div
for example as a kind of container
for the entire site or begin to produce directly in the body of the site?
<body>
<div id="tudo">
</div>
</body>
And how to set up the page body the right way to receive an elastic layout site?
You don’t need a div for "everything". You already have the
<body>
for that reason– hugomg
I don’t know if it’s the right way, but I already prefer to put a <div> just below the <body> enveloping all the content. Like you did. I think that in the end there is not much difference. I confess that I do not know if it is the right one.
– Angelo Scali
It is because most of the tutorials I see developers use.
– Israel Sousa
Yes can use well of good, it is even better for when working with php and do div treatments and who knows how to make content be updated without needing to refresh the page and with div as container this becomes easier to do is yes a good practice.
– Maicon e Nanda Blumenau
Some of these answers answered him?
– Ricardo