Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 4 of 4
  1. #1
    Junior Member
    Join Date
    Sep 2004
    Location
    Eastern NC
    Posts
    2
    Member #
    7590
    I'm just getting so frustrated with Firefox! It just seems like one CSS problem after another.
    Hopefully someone can help me out here.. I can't seem to get my backgrounds defined by CSS to work right in Firefox. The background sets itself to whatever the original height of the page is, and then won't extend beyond that. So if it's a page that requires you to scroll down, the background won't go all the way with it.
    What am I doing wrong??
    Here is an example of the page I'm talking about: click me
    And here is the link to my CSS: click me

    And thanks in advance!

  2.  

  3. #2
    Junior Member
    Join Date
    Mar 2004
    Posts
    9
    Member #
    5356
    Argh the bastard height:100% pain in the ***.

    Why not just define the background inside the body tag in your CSS and then use background-position to center it and background-repeat: repeat-y; to make it repeat vertically, but not horizontally?

    If you are intent on the ugly hack required though, you should check this out http://www.sitepoint.com/forums/showthread.php?t=146265

    Regards,
    PowerSlave

  4. #3
    Senior Member Trico's Avatar
    Join Date
    Feb 2004
    Location
    Nottingham, UK
    Posts
    894
    Member #
    5081
    Yep I've had the same problems as well... define the background like the following example. This way it will span the entire height of the browser window reagrdless of size.
    Code:
    html, body {
    
    background: url(images/bg.gif) repeat-y 50%;
    
    }

  5. #4
    Junior Member
    Join Date
    Sep 2004
    Location
    Eastern NC
    Posts
    2
    Member #
    7590
    Worked! Thanks so much!


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 11:17 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com