View Full Version : Scrollbar help!


naru
04-26-2005, 05:22 AM
I have a vertical and horizontal scrollbar on my webpage. Can I get rid of just the horizontal scrollbar and not the vertical? If yes.. how?

bejayel
04-26-2005, 07:57 AM
yes. make the content not span past the length of your website. using tables, or making the wrapping stop at a certain length will do the trick.

pb&j
04-26-2005, 01:38 PM
shockertwin is correct in the "better" way is to make the content smaller so it fits correctly.

<div style="width:300px;">
stuff here, adjust width value as you desire.
</div>

there is a css coding to get rid of the scrollbar, but then that may lead to problems. if you have a page when the content really does go farther than the window view, the scrollbar will still be disabled and your visitors will not be able to see the whole thing. (a search in the css forum will find this).