The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › float removing background color
I have ul navigation, with a blue background set on the containing div. As soon as I set the links in the unordered list to block, float left the background color of the div disappears. Does anyone know what could be causing this.
Put overflow: hidden; on the div.
Thank you! That did the Trick!
Thanks Doc! I have spent hours trying to figure this out by myself.