Bruce,
Add "clear:none" to the ul.amenities li style. This will override the
clear:both from the .room li style. The problem is that you are floating and
clearing the same li.
ul.amenities li {
float:left;
padding:0;
margin:.5em .25em;
width:45%;
clear:none;
}Regards,
Scott
----- Original Message ----
From: Bruce Hodo <[EMAIL PROTECTED]>
To: [email protected]
Sent: Tuesday, September 19, 2006 10:13:13 AM
Subject: [css-d] Floating list Elements in Nested lists
I would like to have a second level nested list floated in such a way that the
elements line up (in this case) in two columns. Doing this in a non-nested list
works fine, but the nest lists do not float: they line up as if float was not
coded. The list elements have a defined width that is slightly less than half
of the width of the ul, which should give me a two column layout. But it
doesn't.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/