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 4 of 4
  1. #1
    New Coder
    Join Date
    Dec 2006
    Posts
    95
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Overflow: Auto fix?

    I currently have an absolutely positioned div element which holds the page content. I have the page outlined so the window itself doesn't use a scrollbar, only the content div element, but the scrollbar doesn't appear in IE (nor Safari), but works fine in Firefox.

    Here is a link to an example page:

    http://moth.homelinux.com/~scriptdaemon/news.php

    And here is a link to the CSS file:

    http://moth.homelinux.com/~scriptdaemon/style/style.css

    Does anyone know a fix for this without jeopardizing the layout of my page?

  • #2
    New to the CF scene
    Join Date
    Jul 2007
    Posts
    4
    Thanks
    0
    Thanked 0 Times in 0 Posts
    http://www.quirksmode.org/bugreports...IE_Strict.html

    Seems like its more to do with the fact IE ignores the bottom property when using top and bottom together so there is no scrollbar and it grows past the bottom (exactly what its doing on my screen)

    You may have to check out some workarounds... or change the layout design completely

    Someone else here might be able to help more of course

  • #3
    New Coder
    Join Date
    Dec 2006
    Posts
    95
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Yeah, I already understand that the 'bottom' and 'right' attributes are bugged in IE, I was just hoping someone would have a fix. Thank you for the link, I will look into it more tomorrow.

  • #4
    Supreme Master coder! _Aerospace_Eng_'s Avatar
    Join Date
    Dec 2004
    Location
    In a place far, far away...
    Posts
    19,291
    Thanks
    2
    Thanked 1,043 Times in 1,019 Posts
    Looks like you'll have to approach this in a different way. There really is no quick fix.

    http://www.cssplay.co.uk/layouts/body2.html
    ||||If you are getting paid to do a job, don't ask for help on it!||||


  •  

    Posting Permissions

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