Forum Moderators: open

Message Too Old, No Replies

Select Box: Split Text

How to show options correctly in a Select Box...

         

LukasWeb

3:08 pm on May 7, 2004 (gmt 0)



Hi,
I am having a problem I cannot get around. I have an html select box with about 10 options. Some of this options are very large (60 characters). The select box cannot be so large because of the site design, so I fix the width to 30 characters. The problem is that the option that are larger than 30 characters dont show correctly (the first 30 characters are shown). Some time ago I remember to have seen a select box in which the options that dont fit in a line were splitted up and shown in two or three lines.
Any ideas? Thanks in advantage!

Lukas

DrDoc

4:19 pm on May 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to Webmaster World!

That can't be done using a regular <select> element. What you saw must have been a DHTML solution.