I have a list of lists. Sublists are floated left. See http://jsfiddle.net/P4Psf/
Is there a way to force these columns to be the same height as their neighbors (i.e. ha
Add this to your CSS:
ul.themenboxen > li:nth-child(3n+1) {
clear: both;
}
That will literally search in this form:
:nth-child(3n+1)
, meaning every third element inside its parent.li
s.ul.themenboxen
.Or in english, find every third element directly inside of ul.themenboxen
, and apply clear: both
on it.
Note: I'm not sure about lower IE support.