473,396 Members | 2,111 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

variable width menus on form field SELECT

Hi
I have a series of select menus on an online order form. I have
limited space for the field width. Is is possible to have the menu
width grow automaticallt to accomodate long item names. For instance,
the field may be 1 inch width on the form, but when I click the menu
it will expand to 2-3 inches wide to show a long item name, then
return to normal size after making the selection. I don't care if the
display of the select value gets truncated to fit in the narrow field,
but I would like to be able to see the full length name when I pull on
the menu. Is this possible? How would I do it?
Thanks
Mike
Jul 20 '05 #1
1 5231
mc********@yahoo.com (Michael Chernecki) wrote:
I have a series of select menus on an online order form. I have
limited space for the field width.
Then remove the limitations. If you posted the URL, someone might help
and tell how.
Is is possible to have the menu
width grow automaticallt to accomodate long item names.
That's what happens automatically, in visual rendering, unless you try
to prevent that. As usual, the URL could reveal the real problem you
have.
For instance, the field may be 1 inch width on the form, but when I
click the menu it will expand to 2-3 inches wide to show a long
item name, then return to normal size after making the selection.
If you expect HTML (which is the topic of this group) to deal with such
issues, you should calibrate your expectations. HTML is just a poor
lonesome data format.

By the way, two or three inches is still ridiculously small if the font
size is, say, 36 points. Note that users can and often need to override
any font size settings you might have.
I don't care if the display of the select value gets truncated to fit
in the narrow field,
Maybe users do?
but I would like to be able to see the full
length name when I pull on the menu.


You could play with CSS. But it is debatable whether that would mean an
improvement even when it works. It's best to solve the problem you
have, namely the restriction on the width, instead of keeping that
problem and creating some new problems.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: BigDadyWeaver | last post by:
I am using the following code in asp to define a unique and unpredictable record ID in Access. <% 'GENERATE UNIQUE ID Function genguid() Dim Guid guid =...
3
by: Geoff Winsor | last post by:
Hi, I am experiencing a problem with recalling a session variable which stores whether a person is logged in to a "members only" section of a website. This area of the site has been working...
10
by: Tjerk Wolterink | last post by:
The following code does not work: <xsl:variable name="width" select="form:image-width"/> <xsl:if test="$width>$max_image_width"> <xsl:variable name="width" select="$max_image_width"/> </xsl:if>...
4
by: Murph | last post by:
Hi, I'm new to ASP.NET and have a problem which i'm hoping will be easy to answer... i have only used VB, HTML and Flash up until now! I am designing an ASP page which uses OleDb to retrieve...
1
by: stephane | last post by:
I have a problem which must be in this : print" <script type='text/javascript'> document.location.replace('http://127.0.0.1/add_task.php?req_id={$maxValue}&tk_request_name={$req_name}');...
2
by: Boujii | last post by:
Greetings, I have been attempting to make a drop down menu of countries. From this menu I wish to create a variable in order to INPUT into mysql database. I have no trouble making the drop down menu,...
1
SHOverine
by: SHOverine | last post by:
Recently my web host decided to "upgrade". This change rendered many of my pages useless and I am scrambling to fix the issues, so you may see several posts from me in the coming days. My first...
7
by: dragiton | last post by:
SA Upload SQL Database variable types (image upload and storage) I am having trouble with the SA Upload utility. The following code used to work correctly. However, I lost my database and had to...
8
vikas251074
by: vikas251074 | last post by:
I am using ASP with Oracle 9i When I try to save data by clicking save button, it gives following error. Variable is undefined 'adModeReadWrite' where as adModeReadWrite is an keyword. The...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.