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
    Regular Coder
    Join Date
    Jul 2002
    Location
    Brighton, UK
    Posts
    282
    Thanks
    1
    Thanked 0 Times in 0 Posts

    firefox html4 background height problem

    hello i am making a site but i am having troubles with the background division height, i want it to be be 100% but the content in my pages is overflowing the background ??

    if you look at the link below in firefox and ie, you will see what i mean, the main content is over flowing on the firefox version ??? but i can't work out why the background div is not covering this..

    my link to view
    http://preview.globalwebcity.com/_ch...3/template.asp

    also here is the css i am using,, the background division is called DivContainer


    html {
    height: 100%;
    }
    body {
    background-repeat: repeat-x;
    background-attachment: fixed;
    background-position: center top;
    text-align: center;
    padding: 0;
    margin: 0 auto;
    margin-top: 0;
    height: 100%;
    min-height: 100%;
    background-color: #BFE6F8;
    }
    #DivContainer {
    width: 766px;
    margin: 0 auto;
    top: 130px;
    height: 100%;
    background-color: white;
    }



    many thanks chris...
    <marquee>thanks</marquee>

  • #2
    Regular Coder
    Join Date
    May 2007
    Posts
    118
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Hi Chris,

    just remove this code

    Code:
    html {
       height: 100%; 
    }
    from your css definition file. I think it should work then
    Forum for webmasters and developers
    http://www.htmlfrenzy.com
    Are you an IT expert? Join our Reward system
    www.htmlfrenzy.com/reward-system.php

  • #3
    Regular Coder
    Join Date
    Jul 2002
    Location
    Brighton, UK
    Posts
    282
    Thanks
    1
    Thanked 0 Times in 0 Posts
    really !!!

    <marquee>thanks</marquee>


  •  

    Posting Permissions

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