Here's the thing I'm trying to do:
I have a horizontal menu created with an unordered list, in which the list elements are displayed as inline-block. The list has a fixed width.
ul { width: 980px; }
li { display: inline-block; }
When the total width of the list elements exceeds the lists width, the line breaks and a new line is created. What I would like to do is to control the position of this new line so that after it's created it is OVER the first line and not under. Maybe this will be clearer:
3rd line: item7 item8
2nd line: item4 item5 item6
1st line: item1 item2 item3
I have a hunch that this can't be done with CSS alone, so a combined CSS+jQuery solution would do.
Any help would be much appreciated.