The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › [Solved] List loosing background
Hello Im wondering why content of my li doesnt fit whole div. Why isnt background filled based on heighest element but on min-heigth property?
It is because the divs are floated. Adding overflow: hidden can apparently overcome this (but clearing float directly seems more semantic) :
Wow, thanks that is exactly what I want.