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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

listbox with horizontal scrollbar

Status
Not open for further replies.

Izzac

Programmer
Jan 26, 2001
20
CA
hi all,

I have a lisbox like that
<select size=3 name=&quot;x&quot; style=&quot;height:300&quot; MULTIPLE>
<option value=&quot;y&quot;>bla bla</option>
</select>

is it possible to have a horizontal scrollbar on my listbox ? I know that is possible with VBScript, but just with javascript or (D)HTML ?

thanks
 
Just a precision, normally I specify a width in the style (width:200) but when an option with too large text is added, the text is not completely visible. If I don't specify the width, it will be adjusted automatically with the larger text option added, but I must have a fixed width!

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top