User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 425,788 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,233 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 939 | Replies: 4
Reply
Join Date: Dec 2007
Posts: 4
Reputation: elferra is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
elferra elferra is offline Offline
Newbie Poster

Help Displaying full text of options in select

  #1  
Dec 27th, 2007
Hi,

Im having trouble while trying to show full text of the different options included in a select when its width is limited.

The idea is to show the full text of the option (there are quite a lot of options that just differ in their last 2 letters, and they are not visible) while the mouse is over it (when selecting one of the N possible contained in the <select>). All I can obtain is the full text once an option is selected.

All ideas will be welcomed. Thank you.
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Dec 2004
Location: UAE
Posts: 406
Reputation: Sulley's Boo will become famous soon enough Sulley's Boo will become famous soon enough 
Rep Power: 5
Solved Threads: 9
Sulley's Boo's Avatar
Sulley's Boo Sulley's Boo is offline Offline
Posting Pro in Training

Question Re: Displaying full text of options in select

  #2  
Dec 27th, 2007
try setting the style of your list as "width: auto;"

Last edited by Sulley's Boo : Dec 27th, 2007 at 7:53 am.
Reply With Quote  
Join Date: Dec 2007
Posts: 4
Reputation: elferra is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
elferra elferra is offline Offline
Newbie Poster

Re: Displaying full text of options in select

  #3  
Dec 27th, 2007
The idea is not having an auto adjustable combo, because the structure surrounding it would change it's appearence, and this is not an option. Thank you eventhough
Reply With Quote  
Join Date: Dec 2004
Location: UAE
Posts: 406
Reputation: Sulley's Boo will become famous soon enough Sulley's Boo will become famous soon enough 
Rep Power: 5
Solved Threads: 9
Sulley's Boo's Avatar
Sulley's Boo Sulley's Boo is offline Offline
Posting Pro in Training

Question Re: Displaying full text of options in select

  #4  
Dec 27th, 2007
Reply With Quote  
Join Date: Jan 2007
Posts: 2,556
Reputation: MidiMagic is on a distinguished road 
Rep Power: 7
Solved Threads: 115
MidiMagic's Avatar
MidiMagic MidiMagic is offline Offline
Posting Maven

Re: Displaying full text of options in select

  #5  
Dec 28th, 2007
Can you make the text wrap? Stick a br tag in it?
Daylight-saving time uses more gasoline
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb JavaScript / DHTML / AJAX Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the JavaScript / DHTML / AJAX Forum

All times are GMT -4. The time now is 3:14 pm.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC