"...Remember being a youngster, mom or dad telling you "close the door"? Well the same applies to HTML ...."

Go Back   Webmaster Forums > Code Forum > CSS Forum

Reply
 
Thread Tools Rating: Thread Rating: 1 votes, 4.00 average.
Old 12-16-2006, 02:17 PM   #1
Richardf
New Member
 
Join Date: Sep 2006
Webmaster Discussions: 7
Rep Power: 25
Richardf is on a distinguished road
HTML drop down menu

Hi there,

Hope all is well.

I've create the following drop down menu. It works fine, except some of the items are quite long and are not displaying in full, when the menu is dropped down. The problem is that, the bit that is initially displayed before you drop down the menu can not be enlargened, because it is a finite area. What I am effectively looking to do is to ensure that the item is fully displayed. I'd like to avoid using javascript where possible.

Thanks

<form name="formone" >
<p>
<select id="jump-button">
<option selected="selected">Item 1</option>
<option value="link">Item ABCDEF GHIJKLM</option>
<option value="link">Item ABCDEF GHIJKLM</option>
<option value="link">Item ABCDEF GHIJKLM</option>
<option value="link">Item ABCDEF GHIJKLM</option>
<option value="link">Item ABCDEF GHIJKLM</option>
<option value="link">Item ABCDEF GHIJKLM</option>
<option value="link">Item ABCDEF GHIJKLM</option>
</select>


Richardf is offline   Reply With Quote
Old 09-11-2009, 05:03 AM   #2
Bigmous
Junior Member
 
Join Date: Dec 2008
Location: Sydney, Australia
Webmaster Discussions: 27
Rep Power: 11
Bigmous is on a distinguished road
Re: HTML drop down menu

if its only 1 drop down menu

you can add the following to the css file

select {width: 200px;
}

otherwise give each drop down a class and control the width for each 1.
Bigmous is offline   Reply With Quote
Reply

Bookmarks

Tags
drop, html, menu

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Webmaster Discussions
Thread Webmaster Discussion Starter Forum Replies Last Post
vertical drop down menu with 'sub drop downs' problem trdn1 Javascript Forum 2 05-28-2005 08:45 AM
Drop down menu difficulty amyintexas Javascript Forum 6 03-10-2005 02:12 PM
Jump Menu covers drop down menu declan HTML Forum 1 03-10-2004 10:08 AM
drop down menu prob. geek987 HTML Forum 3 10-11-2002 08:46 PM
Drop down menu thekents HTML Forum 6 07-28-2002 07:23 PM


All times are GMT -5. The time now is 08:56 PM.


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.