PDA

View Full Version : Horizontal lists: floated list items and list height


skinme!
10-28-2003, 01:01 AM
I have a bit of a dilemma. I have created a horizontal list by floating the LIs left. However, as a result, they take up no vertical height so the vertical space designated for the list is less than the space needed. This means my list ends up in the thing below it. As I cannot predict the list height (it would be dynamically generated) I am having problems.

The list can be found at http://skinme.net/august.php and it is the bedcrumb/sublink menu BELOW the big picture. Ironically, this list works fine in IE but not in Moz/Opera (the drop down menu on 'portfolio' conversely works fine in Moz/Op but not in IE).

My question is can I make Moz/Op recognise the list is not 0px high and make them assign enough space? Is there an alternative way to make a horizontal list besides floating LIs?

skinme!
10-28-2003, 03:21 PM
Problem solved! It appears to have been a simple issue about putting clear: both on the sections that followed and IE incorrectly adding whitespace.