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

    Scrollbar not appearing in IE.

    If you view this test page in Firefox, http://moth.homelinux.com/~scriptdaemon/test.html , the pageDiv div should have a scrollbar, however, even if the content overflows the div, the scrollbar does not appear in IE. What is wrong?

    P.S. These are the only two browsers I have tested. If there are any errors in any other browsers, please inform me and possibly help me fix those as well.

  • #2
    Senior Coder ahallicks's Avatar
    Join Date
    May 2006
    Location
    Lancaster, UK
    Posts
    1,134
    Thanks
    1
    Thanked 57 Times in 55 Posts
    Could possibly be because you haven't specified a set height or width to that page div
    "write it for FireFox then hack it for IE."
    Quote Originally Posted by Mhtml View Post
    Domains are like women - all the good ones are taken unless you want one from some foreign country.
    Reputation is your friend

    Development & SEO Tools

  • #3
    New Coder
    Join Date
    Dec 2006
    Posts
    95
    Thanks
    4
    Thanked 0 Times in 0 Posts
    http://www.cssplay.co.uk/layouts/body4.html

    That site doesn't appear to either, but it works in IE.

  • #4
    New Coder
    Join Date
    Dec 2006
    Location
    Bahrain
    Posts
    96
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Scrollbars only work in I.E., If ur wrong, maybe u need to have better I.E. version or ur css/ any code is invalid. . .
    ALWAYS remember to validate your code

  • #5
    New Coder
    Join Date
    Dec 2006
    Posts
    95
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by codingmasta View Post
    Scrollbars only work in I.E., If ur wrong, maybe u need to have better I.E. version or ur css/ any code is invalid. . .
    I have pretty much next to no idea what you just said, but I'll address it how it came off to me.

    Scrollbars don't only work in IE, because they work fine for me in FF. I have the latest version of IE and still have this problem, and I obviously know something is wrong with the code, because I am asking for help to fix it.

  • #6
    New Coder
    Join Date
    Dec 2006
    Location
    Bahrain
    Posts
    96
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Oh, what a shame 4 me...
    ALWAYS remember to validate your code

  • #7
    New Coder
    Join Date
    Dec 2006
    Posts
    95
    Thanks
    4
    Thanked 0 Times in 0 Posts
    I have figured out that the problem was actually that in IE, for some reason, the div height wasn't being updated to the content since the content is put into the div via javascript. (I don't quite understand why though, because it updates every time I delete rows from it). I have figured this out because, as I resized the browser window manually, it corrected the height as it should be, so I put a temporary table in past the browser height so when the information from the javascript is put in it is correctly sized. I have, however, ran into a new problem. For some completely odd reason, if you delete a row at random (at least from what I have tested), all the other divs move to the very left of the page. It's odd because this doesn't always happen, and it always calls the same code regardless of what row is deleted.
    Last edited by Scriptdaemon; 12-24-2006 at 04:10 AM.


  •  

    Posting Permissions

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