grabmail
05-19-2006, 11:30 PM
<div bgcolor:blue>
<div float:left width:30%></div>
<div float:left width:70%></div>
</div>
ignore the incorrect html syntax.
basically, i have 2 floating divs. mimicing 2 columns in a row.
So just like how you would highlight a row by <tr bgcolor:blue>
i want to highlight the floating divs too.
<div bgcolor:blue> DOES NOT WRAP around the 2 floating divs. Instead, it lies ABOVE the 2 divs.
What is the right way to wrap the 2 floating div so i can highlight them?
<div float:left width:30%></div>
<div float:left width:70%></div>
</div>
ignore the incorrect html syntax.
basically, i have 2 floating divs. mimicing 2 columns in a row.
So just like how you would highlight a row by <tr bgcolor:blue>
i want to highlight the floating divs too.
<div bgcolor:blue> DOES NOT WRAP around the 2 floating divs. Instead, it lies ABOVE the 2 divs.
What is the right way to wrap the 2 floating div so i can highlight them?
