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 6 of 6
  1. #1
    New Coder
    Join Date
    Jun 2007
    Location
    Chico, CA
    Posts
    40
    Thanks
    9
    Thanked 0 Times in 0 Posts

    Question Firefox Repeat-y problem

    Hey, this bug is only in FF, it has to do with this 1px tall image that's repeating on the y axis to expand along with the content...

    The page loads fine, but if you scroll down, you'll notice that in Firefox the repeat-y image stops at the bottom of the browser... I want it to continue on forever like it does in every other browser...

    Please take a look here: Page Link

    My stylesheet is here: Stylesheet Link


    This is very strange since I don't usually have FF problems... more the other way around.. haha

    If anyone can help me with a fix, I would much appreciate it!!

  • #2
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,667
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Code:
    #wrap                {
    margin:0 auto;
    position:relative;
    width:921px;
    background:#e9e7e7 url(i/mainbacky.gif) repeat-y top center;
    /*height: 100%;  remove this*/
    font-size:.9em;
    text-align:left;
    }
    100% is the height of the browser window in this case, but no more.
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • Users who have thanked Excavator for this post:

    dancrew32 (01-03-2008)

  • #3
    New Coder
    Join Date
    Jun 2007
    Location
    Chico, CA
    Posts
    40
    Thanks
    9
    Thanked 0 Times in 0 Posts
    haha awesome, that fixed it all up! Thanks a ton!

  • #4
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,667
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Very cool
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad

  • #5
    New Coder
    Join Date
    Jun 2007
    Location
    Chico, CA
    Posts
    40
    Thanks
    9
    Thanked 0 Times in 0 Posts
    crap, I spoke too soon.. although pulling out that line did fix the cut off problem with longer pages, the shorter pages like This Page (the homepage) are stopping the repeat from reaching the bottom of your browser...

    Is there anyway to make sure this repeat-y pattern is always extending to the bottom of the browser without using the height 100% on that wrap??

  • #6
    Master Coder Excavator's Avatar
    Join Date
    Dec 2006
    Location
    Alaska
    Posts
    9,667
    Thanks
    22
    Thanked 1,827 Times in 1,811 Posts
    Quote Originally Posted by dancrew32 View Post
    Is there anyway to make sure this repeat-y pattern is always extending to the bottom of the browser without using the height 100% on that wrap??
    That's a little more complicated.
    A full height layout takes a couple extra tricks. I have a nice example here.
    The CSS for that is at http://nopeople.com/CSS/full-height-layout/global.css to see how that's done.
    Note there are specific things in that CSS that you will need to duplicate in both your CSS and markup:
    • html
    • body
    • *
    • #wrap
    • * html #wrap
    • #footer
    Validate often DURING development - Use it like a splelchecker | Debug during Development |Write it for FireFox, ignore IE
    Use the right DocType | Validate your markup | Validate your CSS | Why validating is good | Why tables are bad


  •  

    Posting Permissions

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