|
|
|||||||||
|
|||||||||
|
|||||||||
| |
||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Wrapping Text in Select Menu
hi
I have one select menu the options are coming from database. thats why if the text is too long the width of the select menu increases and it affect my design. One thing i can do is that i will fix the width through CSS but then its hide the Option Name.that is wrong i just wanted to confirm can we give <br> or something like that which will wrap the text according the fixed width. dhiru |
|
#2
|
|||
|
|||
|
No, you can't put any tags inside a tag's content.
You can do 1 thing though. Create a new option but with the same value: <form> <select> <option value="1">Option 1</option> <option value="2">Option 2</option> <option value="3">Option 3 Option 3 Option 3 </option> <option value="3"> still Option 3 </option> </select> </form> Last edited by lillu : October 22nd, 2003 at 01:35 PM. |
![]() |
| Viewing: ASP Free Forums > Programming > HTML, JavaScript And CSS Help > Wrapping Text in Select Menu |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|