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 14 of 14
  1. #1
    Regular Coder
    Join Date
    May 2003
    Location
    34° 54' N 82° 13' W
    Posts
    996
    Thanks
    0
    Thanked 0 Times in 0 Posts

    showing scrollbars regardless?

    I'm using a divular layout and when the scrollbar does not show, when the page is not long enough to need to show, it shows fine, but when it is long enough for scrollbars, it shows up and it makes my div's ''Bounce'' around. It's not 'killing me' but I don't really like it bouncing around. Is there a way where I can show the scrollbars, or at least an inactive one, at all times?

    IE does this, but I'm using Firefox.

    Thanks
    Stevie Peele
    Neverside IRC Network - irc.veonex.net | tc.tutorialnetwork.org
    #dev - any programming,etc. question
    #design - design discussion and critque
    #central - general chat
    Come join us!

  • #2
    Senior Coder
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    1,963
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Don't be offended by this, but you have tried adding overflow:scroll; to the elements in question, haven't you?


    Andrew.

    I take no responsibility for the above nonsense.


    Left Justified

  • #3
    Regular Coder
    Join Date
    May 2003
    Location
    34° 54' N 82° 13' W
    Posts
    996
    Thanks
    0
    Thanked 0 Times in 0 Posts
    No, add that to the body tag?
    Stevie Peele
    Neverside IRC Network - irc.veonex.net | tc.tutorialnetwork.org
    #dev - any programming,etc. question
    #design - design discussion and critque
    #central - general chat
    Come join us!

  • #4
    Regular Coder
    Join Date
    May 2003
    Location
    34° 54' N 82° 13' W
    Posts
    996
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I think I was unclear

    In this first screenshot (firefox) no scrollbar is necessary
    http://stevie.f2o.org/images/no.PNG

    In this second screenshot (ie) no scrollbar is necessary, but an incative one shows up.
    http://stevie.f2o.org/images/noie.PNG

    How can I make my page to where in Firefox, the inactive scrollbar shows up regardless like IE so the *bouncing* will not occur?

    Thanks
    Stevie Peele
    Neverside IRC Network - irc.veonex.net | tc.tutorialnetwork.org
    #dev - any programming,etc. question
    #design - design discussion and critque
    #central - general chat
    Come join us!

  • #5
    Senior Coder
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    1,963
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Post your html/css and I'll tell you which elements...but do it soon, its 1am and Im about to crash.

    I take no responsibility for the above nonsense.


    Left Justified

  • #6
    Senior Coder
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    1,963
    Thanks
    0
    Thanked 0 Times in 0 Posts
    aaahhhh, that old chestnut again...
    Sorry man, no hope. It's built into the browser to do that.
    I ran into the same prob when I made my site.

    *edit: but adding overflow:scroll to the body is worth a try none the less...

    I take no responsibility for the above nonsense.


    Left Justified

  • #7
    me'
    me' is offline
    Senior Coder
    Join Date
    Nov 2002
    Location
    Warwickshire, England
    Posts
    1,229
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Surely this is hardcoded into Firefox... if you want it to appear on your machine then add this to your user.css file:
    Code:
    scrollbar { display: block !important }
    David House - Perfect is achieved, not when there is nothing left to add, but when there is nothing left to take away. (Antoine de St. Exupery).
    W3Schools | XHTML Validator | CSS Validator | Colours | Typography | HTML&CSS FAQ | Go get Mozilla Now | I blog!

  • #8
    Senior Coder
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    1,963
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by me'
    if you want it to appear on your machine then add this to your user.css file:
    That's not going to help him out in the big wide web though....
    He can't change other user's custom styles.

    I take no responsibility for the above nonsense.


    Left Justified

  • #9
    Regular Coder
    Join Date
    Dec 2003
    Location
    USA
    Posts
    230
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Why not set the height of the page to like, one or two percent over one hundred? There shouldn't be much scrolling, and you'll have your scrollbar.

  • #10
    Regular Coder
    Join Date
    May 2003
    Location
    34° 54' N 82° 13' W
    Posts
    996
    Thanks
    0
    Thanked 0 Times in 0 Posts
    body { height: 96.10%; }
    gives it a scrollbar that doesn't scroll.

    Thanks, Paul.
    Stevie Peele
    Neverside IRC Network - irc.veonex.net | tc.tutorialnetwork.org
    #dev - any programming,etc. question
    #design - design discussion and critque
    #central - general chat
    Come join us!

  • #11
    Senior Coder
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    1,963
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by SDP2006
    body { height: 96.10%; }
    gives it a scrollbar that doesn't scroll.

    Thanks, Paul.
    But what happens when the content extends past that point? Or if the user enlarges their font size? Does it break? Or does it scroll?

    I take no responsibility for the above nonsense.


    Left Justified

  • #12
    me'
    me' is offline
    Senior Coder
    Join Date
    Nov 2002
    Location
    Warwickshire, England
    Posts
    1,229
    Thanks
    0
    Thanked 0 Times in 0 Posts
    min-height?
    David House - Perfect is achieved, not when there is nothing left to add, but when there is nothing left to take away. (Antoine de St. Exupery).
    W3Schools | XHTML Validator | CSS Validator | Colours | Typography | HTML&CSS FAQ | Go get Mozilla Now | I blog!

  • #13
    Senior Coder
    Join Date
    Oct 2003
    Location
    Australia
    Posts
    1,963
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by me'
    min-height?
    Of course! Brilliant and obvious David
    Thankyou Mozilla.org for your (*mostly) standards compliant products!

    * - Not 100% positive, don't want to get flamed just in case

    I take no responsibility for the above nonsense.


    Left Justified

  • #14
    me'
    me' is offline
    Senior Coder
    Join Date
    Nov 2002
    Location
    Warwickshire, England
    Posts
    1,229
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Originally posted by mindlessLemming
    Of course! Brilliant and obvious David
    Lol, thanks. But don't forget to hack down for IE:
    Code:
    html body { height: 96.1% }
    html>body { min-height: 96.1%; height: auto }
    Or pick your favourite hack (_height, * html body etc)
    David House - Perfect is achieved, not when there is nothing left to add, but when there is nothing left to take away. (Antoine de St. Exupery).
    W3Schools | XHTML Validator | CSS Validator | Colours | Typography | HTML&CSS FAQ | Go get Mozilla Now | I blog!


  •  

    Posting Permissions

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