Web Hosting Talk







View Full Version : Always enable scrollbar?


nmluan
02-21-2004, 01:42 PM
My page works so far, but everytime we open a link with lots of text the scroll bar comes and short of shrink my design about 4 px, everything is fine just that I would like to have it always on .

So how would I do that. All searching on scrollbar and css return how to color the scroll bar.. I just want it to always be there.

the page:
http://walton.lubox.net/iaesteweb/iaeste
Click on the second link on the left and you see what "shrinking" I am talking about.

Thanks.

thePurpleGiant
02-22-2004, 03:10 AM
Cannot be done I'm sorry. The browser will always take it away if not needed. I wouldn't worry about it to be honest, a lot of website have a slight "shift" when a scrollbar becomes visible, it is quite normal.

Alternatively, you could place a long list of line breaks after you content, but this would look rather amateur IMO.

DSD
11-04-2005, 04:02 PM
Sorry to resurrect an old thread, but is this still the case? My current site bounces to the left when a scroll bar decides to appear, and it's driving me crazy. Perhaps css can fix this?

the_pm
11-04-2005, 04:11 PM
You can specify something like:

body { overflow: scroll }

It's not graceful, but I think it will work. Frankly, I would forget about it completely, for the reasons stated earlier.