[thelist] [CSS] Uninherited background color with float
Adriano Castro
ad at netvisao.pt
Mon Apr 19 05:56:34 CDT 2004
Check out:
+ http://www.adrianocastro.net/post/pub/help/001.html
The 3 sections ("big top section", "small left section", "small rite
section") are all contained under the "main" div. The last "small
left" and "small rite" sections are floated to the left and rite,
respectively.
Why don't they inherit the #main's background color?
Code snip:
<div id="main">
<div>big top section</div>
<div class="sectionsmallleft">
<div>small left section</div>
</div>
<div class="sectionsmallrite">
<div>small rite section</div>
</div>
</div>
AD
--
www.adrianocastro.net
More information about the thelist
mailing list