Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help to Remove Bottom scroll bar from div tag. 1

Status
Not open for further replies.

Gatorajc

MIS
Mar 1, 2002
423
US
I have a div tag that scrolls is there a way to get rid of the side scroller (left to right) which I know I will never have a need for in the instance I am creating.

Thanks in advance. AJ
I would lose my head if it wasn't attached. [roll1]
 
I'm assuming you are using:
overflow:scroll;

An IE only way to remove it would be to do:
overflow-y:scroll;

A cross-browser way would be to do:
overflow:auto;
but that will only display the side bar if there is need for it. You could overcome this problem by setting the height to 350px and adding a blank 1px by 1px image to the right of the text and streching it to 551px height.

Rick -----------------------------------------------------------
RISTMO Designs
Arab Church
 
Great Thanks AJ
I would lose my head if it wasn't attached. [roll1]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top