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
    New Coder
    Join Date
    Aug 2005
    Posts
    73
    Thanks
    12
    Thanked 0 Times in 0 Posts

    ie scroll dissappears with stretched background image

    OK, so I'm not great with CSS and HTML, and so it's taken me many many hours (no, days in total) to get where I want to be with the site I'm building.

    I'm finally there, nearly, and decide that I need to stretch a "background" image. I followed the tutorial at http://www.htmlite.com/faq022.php which seems to do the job nicely... it hasn't broken my page in firefox or in IE... except for one thing...

    While it's fine in firefox, in IE6 I'm finding that I can't scroll the page. The page is all there... I can highlight the text and drag right to the bottom, but there's no scrollbar, and no mouse-scroll either. Is there a fix for this strange behaviour?

    html page

    css page

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,864
    Thanks
    160
    Thanked 2,224 Times in 2,211 Posts
    Change
    html {
    overflow-y: hidden;
    }

    to
    html {
    overflow-y: scroll;
    }
    But you may have to find someother trick to minimise height in IE in this case
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • #3
    New Coder
    Join Date
    Aug 2005
    Posts
    73
    Thanks
    12
    Thanked 0 Times in 0 Posts
    Thanks very much for your help. In the end, I decided it wouldn't be possible for me to do and left it. I recently went back to the idea in a new way, via a page offering sample code at CSSplay... it worked a treat, but did create some z-index issues, which I managed to solve (I think!).


  •  

    Posting Permissions

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