Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Removing only the Horizontal scrollbar

0 views
Skip to first unread message

Nathan Sokalski

unread,
Oct 7, 2001, 3:55:36 PM10/7/01
to
I want to remove only the horizontal scrollbar, since I can see the entire
width of the content without scrolling. However, I do need the vertical
scrollbar. Since HTML does not give the option of removing the scrollbars
separately, I figured there might be something in CSS that could accomplish
this. If there is, what is it?
--
Nathan Sokalski
njsok...@hotmail.com
http://studentwebs.kutztown.edu/soka0908/HomePage.html


viza

unread,
Oct 9, 2001, 3:18:25 AM10/9/01
to
Thus quoth Nathan Sokalski:

> I want to remove only the horizontal scrollbar, since I can see the
> entire width of the content without scrolling. However, I do need the
> vertical scrollbar.

You can get rid of both of them by putting overflow:hidden on the body, but
then the whole page will have to fit on the screen.

http://www.w3.org/TR/REC-CSS2/visufx.html#propdef-overflow

how do you know that it will fit in any users browser anyway? are you the
only person who uses the site?

--
If you can remain calm, you don't have all the facts.

Cybarber

unread,
Oct 10, 2001, 4:28:13 PM10/10/01
to
style="position:absolute; background:green;overflow-X:hidden;overflow-Y:scroll"
 
 
 
 
 
 
 
 
 
 
0 new messages