Forum Moderators: open

Message Too Old, No Replies

REMOVE Horizontal Scroll bars

remove scrollbar at base of screen but keep the up / down on right

         

walker

10:28 am on Oct 1, 2002 (gmt 0)

10+ Year Member



Hi

Does anyone know how to remove the horizontal scrollbars on a page while still keeping the up/down vertical scroll bar on right of page.

Please any help would really be appreciated

Kind Regards

Walker

digitalghost

10:30 am on Oct 1, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Just a guess, but did you lay out your site in tables? Using pixels rather than percentages?

deejay

10:33 am on Oct 1, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Hi walker

Welcome to WebmasterWorld.

You shouldn't have a horizontal scroll bar unless you have content that is actually wider than the available screen space. As digitalghost suggests, it's usually because of fixed width layouts.

Adjust your page layout and the horizontal scroll will go.

shanz

10:38 am on Oct 1, 2002 (gmt 0)

10+ Year Member



Presumably you have some element on your page that is forcing your page to be larger than the screen width. This could be images, tables or frames.

Sorry if this is too basic but most used screen sizes are:

800x600
1024x768

780px is the maximum fixed width of an element to display properly on both these screen sizes. As mentioned above tables can use percentages to avoid this. But any images etc should not be wider than 780.

Hope this helps.

dingman

2:26 pm on Oct 1, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Just to add to shanz's info, you can also use relative sizes for an image by adjusting their height and width from CSS rather than using the height and width attributes of the tag. It will force the browser to scale the image for display itself, which is not always as pretty as if you scaled it yourself in a good image editor, but it does work.