473,749 Members | 2,513 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Wrap text (i.e. description) in html drop down box

Hi,

I have a drop down box with width=120px.
The box length cannot be extended because of design issue.
How can I wrap text in html drop down box ?

Thanks,

Rocco

Feb 10 '06 #1
2 2429
Rocco,

If it is not a part of the DOM for HTML (Document Object Model) and in my
idea that is not, than you cannot do it.

http://msdn.microsoft.com/library/de...node_entry.asp

I hope this helps,

Cor
Feb 10 '06 #2
You cannot because such functionality is not part of the HTML specification.
You can, however, work to create your own dropdown using DHTML and
JavaScript.

"Rocco" <Ro***@discussi ons.microsoft.c om> wrote in message
news:23******** *************** ***********@mic rosoft.com...
Hi,

I have a drop down box with width=120px.
The box length cannot be extended because of design issue.
How can I wrap text in html drop down box ?

Thanks,

Rocco

Feb 10 '06 #3

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

Similar topics

4
3695
by: Gurry | last post by:
Hi there I would like to write a javascript function that creates a drop-down list dynamically. I read on the docs that most HTML controls can not be created on run-time. what kind of work-arounds do you use in this case? maybe DHTML? do you have any example ? Javascript allows you to create the options of the drop-down list dynamically but not the drop-down list itself, I believe. Actually the same question goes for any other HTML...
11
2491
by: Dan | last post by:
Hello all, I am getting records from a db and displaying the records to the user through a drop down menu in an asp page. Each record has 6 fields and I need to display them all to the user in the drop down. The problem is that the fields contain values of all different lengths and the columns are not aligned.
1
1360
by: clarket | last post by:
Hi, Is there any easy way of adding an item to a html list (or does this need to be done server side). What I want to do is have a list wirh about 10 items in it, if the item the user wants to select is not in the list then they click on a button and they get a new window with a list with 100s of items (taken from a database)and they select an item from this list. I want to close the window and then ammend there selection to the smaller...
1
1241
by: King Kaos | last post by:
Is it to build an expression in a query that puts several, text field together. For example I have client information and I have their home address, school address, court house address, doctor's address etc. What I want to do is create an expression in a query, that "puts" these fields together and then on another table/form/query - when I bring up a client's name, I want drop down field that would bring up these various addresses - is...
1
1270
by: Mardy | last post by:
I know this is probably real easy but I can't figure it out. I'm trying to grab the text that appears in a drop down list server control and place it in a label server control on the same page. I can get the selected value, that's easy. But I want the text. Thanks
1
3228
by: Al-Bot | last post by:
Hey to all! How can I load data from a simple .txt file into a drop down box using HTML or javascript. I have this: <select name="Soup_1"> <option value="Soup Choice 1">-------------- Choice 1 -------------- <option value="CREAM OF BROCCOLI">Cream of Broccoli <option value="FRENCH ONION W/ CROUTONS">French Onion W/ Croutons <option value="HAMBURGER TOMATO SOUP">Hamburger Tomato
11
1763
by: Zorro | last post by:
Hello guys, <SELECT name = "f_hello"> <OPTION value = 'H'>Hello</OPTION>" <OPTION value = 'G'>Good-Bye</OPTION>" </SELECT> In the case above, I can easily retrieve the f_hello variable which will containts H or G after a POST. But how could I retrieve the "Hello" or "Good-Bye" string?
1
1972
by: subhashk | last post by:
Is it possible to create a editable HTML drop down list using javascript?
4
11904
by: Joe | last post by:
This is my HTML form: <form method=get action="home.php"> <INPUT TYPE = "Text" VALUE = "" NAME = "title"><br> <select name="searchby"> <option value="Title">Title</option> <option value="Year">Year</option> <option value="Genre">Genre</option> <option value="Director">Director</option> </select>
0
9568
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
9335
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9256
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8257
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6801
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4709
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4881
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3320
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2794
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.