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 4 of 4
  1. #1
    New to the CF scene
    Join Date
    Oct 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Problem with setting container div background to white

    Hello

    I'm having a problem setting the container div background colour to white.

    Website
    CSS

    I want the height of the #maincontent & #leftside divs to be expandable depending on content, so i set the 'height: 100%'. But this leaves a gap if one of the columns has more content than the other.

    This gap would be covered up if the #container div's background-color: #fff however the white is not showing up. I figured this had something to do with the height on the #container div not being exact (as you can see the its set to 100% as well), but i need the container to be expandable as well..

    Any ideas?

    Thanks
    Nathan

  • #2
    New to the CF scene
    Join Date
    Oct 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I'm having this problem in Firefox, IE7 seems fine. Not sure about any other browsers.

    (Edit button wasnt working)

  • #3
    New to the CF scene
    Join Date
    Oct 2007
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Problem solved, fiddled a bit, and now its fixed. Don't know the exact reason why.

  • #4
    Regular Coder
    Join Date
    Feb 2007
    Location
    Canada
    Posts
    924
    Thanks
    10
    Thanked 56 Times in 55 Posts
    Container looks white to me.

    Clear your cache and try it again, or try it locally after clearing the cache.

    If you need an Image to confirm, send me a pm or email, but the white goes coast to coast.

    *edit*
    Posting at the same time...


  •  

    Posting Permissions

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