Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Jul 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Background color problems in nested divs

    OK, so I just don't get this... I've got a wrapper div, with two columns inside it. The wrapper's background is white, but the empty space under the right column is orange (body background color) rather than the wrapper's white. In Dreamweaver's design view, the wrapper div looks like it has no height, and so does not contain the other two divs. Why?

    Thanks in advance.

    http://globaljusticegame.mrap.info/newdesign/index.html
    http://globaljusticegame.mrap.info/n...n/gjgstyle.css

  • #2
    Senior Coder twodayslate's Avatar
    Join Date
    Mar 2007
    Location
    VA
    Posts
    1,042
    Thanks
    67
    Thanked 39 Times in 39 Posts
    twitter | Quality Hosting - $5.95/mo*
    Feel free to PM me!

  • #3
    New to the CF scene
    Join Date
    Jul 2007
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks for the link. I went and added background-color: #FFF; to the largest wrapper, rather than a sub-wrapper. Voila!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •