#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2008
    Posts
    205
    Rep Power
    22

    Div background problem with firefox


    I am trying to assign a background to footer div, it appears fine with internet explorer, but it does not appear at all with firefox.

    http://www.refinethetaste.com/html/
  2. #2
  3. Thanks Johnny Hart (BC) R.I.P.

    Join Date
    May 2003
    Location
    Dallas
    Posts
    5,262
    Rep Power
    1960
    You didn't enclose your float elements. Add #footer {overflow: hidden;}.

    cheers,

    gary
    There are those who manage to build a web site without knowing what they're doing; thereby proving to themselves they do, indeed, know what they're doing.

    My html and css workshop, demos and tutorials.
    Ask a better question, get a better answer.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2008
    Posts
    205
    Rep Power
    22
    I thought adding overflow: hidden; only to the parent div would do it. So I only added it to #container. Thank you again, Gary!

IMN logo majestic logo threadwatch logo seochat tools logo