CSS Help
CSS Help
Out of context: Reply #3
- Started
- Last post
- 6 Responses
- foobaz0
You need to clear floated elements.
I think this is what you're looking for:
<div style="background-color:#F00">
<div style="float:left">Background isn't red</div>
<div style="clear:both;"></div>
</div>