Posted by sachaburnett on 05/04/06 06:22
Hi guys,
Along the same note... I've read that nesting DIVs is a bad practice.
True or false?
Is there anything wrong with the following code:
<div id="layoutPage"> <!-- This is to format the page's layout -->
<div class="mainText"> <!-- This is to format a block of text -->
<p>Blah blah <span class="blueText">blah</span> blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah.</p>
<p>Blah blah blah blah <span class="redText">blah blah </span> blah
blah blah blah blah blah blah blah blah blah blah blah blah blah.</p>
</div>
</div>
Thanks!
SB
[Back to original message]
|