Previous Message
Next Message

Columns with more than one element

Sent by Tony Haddon on 2 September 2005 12:12

Generally I'd wrap each row in a separate div with a clear:both style 
assigned to it.

div.row {
    clear: both

<div class="row">
    <div id=a>aaaaa</div>
    <div id=b>bbbbb</div>
<div class="row">
    <div id=c>ccccc</div>
    <div id=d>ddddd</div>

Might not be ideal though and I'm sure more experienced CSSers would 
have a better suggestion. I'd be keen to a way to avoid the extra markup 

Oops, and I note there's no quotes on your id attributes!

css-discuss [EMAIL-REMOVED]]
List wiki/FAQ --
Supported by --
Previous Message
Next Message

Possibly related: