Hi,
I have set my overflow to scroll, it doesn't need to scroll horizontally but it still shows up with a scroll bar at the bottom. Is there any way I can get rid of this?
Thanks!
Hi,
I have set my overflow to scroll, it doesn't need to scroll horizontally but it still shows up with a scroll bar at the bottom. Is there any way I can get rid of this?
Thanks!
Useoverflow-y: scroll;
instead.
Good luck!
Eddy Proca
I love Dropbox. Get it through my girlfriend's referral link (I reached my limit) and both you and her get 500 MB extra! Thanks and you're welcome!
Hi there Moshambi,
our friend Snookerman has suggested that you use...
overflow-y: scroll;...but it doesn't exist in CSS level 2.1.
It will be in CSS 3 and some browsers may already have adopted it
but I would suggest that it would be safer for you to use...
overflow: auto;..which will put the scrollbars where they are actually required.
coothead
It is CSS3 but I can't think of any popular browser that doesn't support it. I think even IE5 supports it. Except for a small validation error (if you know what you are doing it doesn't really matter) there will be no other issues.overflow: auto;
might do it in this case, depending on what Moshambi is looking for, but it's not the same thing.overflow-y: scroll;
is useful if you want to have a vertical scrollbar in Fx even if there is no need for scrolling, just like in IE. This will get rid of that jump that occurs when the scrollbar appears.
Eddy Proca
I love Dropbox. Get it through my girlfriend's referral link (I reached my limit) and both you and her get 500 MB extra! Thanks and you're welcome!
Bookmarks