Topic: forcing scrollbars in netscape/mozzy (Page 1 of 1) |
|
---|---|
Paranoid (IV) Mad Scientist From: |
posted 09-29-2002 09:41
is there a simple way to force netscape/mozilla to display a vertical scrollbar in the browser window even if there isn't enough content to make it required? in internet explorer they're always there, regardless of the length of page. |
Paranoid (IV) Mad Scientist From: |
posted 09-29-2002 09:50
oh yeah and preferably using css so i don't have to cut/paste new code into 100 different pages (static or death!). |
Bipolar (III) Inmate From: Berlin (almost) |
posted 09-29-2002 12:39
I haven't tested it yet, but overflow: scroll; in the body styles might do the trick. |
Paranoid (IV) Mad Scientist From: |
posted 09-29-2002 19:12
yeah i messed around with overflow: scroll/auto/yes/no/pplleeeaasseee last night but didn't have any luck. searching through the w3 css documents i couldn't find anything useful last night or this morning... oh well. |
Bipolar (III) Inmate From: Berlin (almost) |
posted 09-29-2002 21:23
I just found that there is a Mozilla-specific overflow property called -moz-scrollbars-vertical. But I wouldn't recommend you use it since it behaves quite buggy in the Mozilla 1.0 I have installed... I had to remove all page margins and set the body's height to 100% to make them act somewhat like normal scollbars do, and even then I couldn't scroll up and down by using my mouse wheel. Maybe that has been fixed in a later build, but I wouldn't go through so much hassle only to have some scrollbars where they aren't even needed |