Results 1 to 8 of 8

Thread: Page height

  1. #1
    Join Date
    Mar 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Page height

    Can anyone tell me why I can't get the background (white) to cover the whole page. It's the background for .container2 which should envelope the rest of the content but it doesn't seem to.

    www.allendesign.ie/css/fit.html

    Many thanks.

  2. #2
    Join Date
    Aug 2009
    Posts
    92
    Thanks
    0
    Thanked 9 Times in 9 Posts

    Default

    forgot the height:368px;in the .main

    .main { width:980px; height:368px;padding:0; margin:0 auto; background:green;}
    .container {width:980px; height:900px; margin:0 auto; background:yellow}
    .container2 {width:980px; height:auto; margin:0 auto; background:#fff}

  3. #3
    Join Date
    Mar 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Hmmm - just tried that (link now updated with above change). Still the same though.

  4. #4
    Join Date
    Aug 2009
    Posts
    92
    Thanks
    0
    Thanked 9 Times in 9 Posts

    Default

    change the color the quickest way
    TO b6b6b6
    .main {width:980px; height:568px; padding:0; margin:0 auto; background:#b6b6b6;}

    i did not use the link
    < link href="http://www.allendesign.ie/css/style.css" rel="stylesheet" type="text/css" />
    i put it in
    <style>
    </style>
    in the page

    try it then you will find out

  5. #5
    Join Date
    Aug 2009
    Posts
    92
    Thanks
    0
    Thanked 9 Times in 9 Posts

    Default

    try take this line out
    if the last post don't work---------
    i have tryed it with the link
    //.FBG { height:85px; padding:10px 0; margin:0 auto; background:url(http://www.allendesign.ie/css/images/shadow.gif) top center repeat-x;}

    <div class="FBG">
    </div>

  6. #6
    Join Date
    Mar 2010
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    That didn't do it either. I'm just wondering why the body background #b6b6b6 is taking over the whole page when I've set background colors (test colors at the moment) for the container2 and main divs.

    It seems to work in IE but not in firefox.

    Suggestions???

  7. #7
    Join Date
    Aug 2009
    Posts
    92
    Thanks
    0
    Thanked 9 Times in 9 Posts

    Default

    if you what the this words to go under the white where the ---shadow.gif is
    to move it down
    put <BR> 3 times it will move down the <DIV class="body_resize
    Considered to be our core activity, we pride ourselves on providing


    <BR><BR><BR>
    <div class="body_resize">
    <div class="left">
    <div class="page2left">
    <div class="box1">
    <h2>.......Considered to be our core activity, we pride ourselves on providing clients with the <strong>full package to fit out to suit the business needs and budget.</strong> <br />
    </h2>

  8. #8
    Join Date
    Aug 2005
    Location
    Other Side of My Monitor
    Posts
    3,494
    Thanks
    5
    Thanked 105 Times in 104 Posts
    Blog Entries
    1

    Default

    Erm.. fix your errors.... see them here

    There are HTML errors too, but that wont effect your layout.
    {CWoT - Riddle } {Freelance Copywriter} {Learn to Write}
    Follow Me on Twitter: @InkingHubris
    PHP Code:
    $result mysql_query("SELECT finger FROM hand WHERE id=3");
    echo 
    $result

Bookmarks

Posting Permissions

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