Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS float removing background color

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #32006
    scottjraney
    Member

    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.

    #55645
    TheDoc
    Member

    Put overflow: hidden; on the div.

    #55614
    scottjraney
    Member

    Thank you! That did the Trick!

    #90858

    Thanks Doc! I have spent hours trying to figure this out by myself.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘CSS’ is closed to new topics and replies.