473,699 Members | 2,311 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 2424
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
3692
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
2476
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
1359
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
1239
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
1266
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
3227
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
1734
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
1968
by: subhashk | last post by:
Is it possible to create a editable HTML drop down list using javascript?
4
11901
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
8630
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9199
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...
0
9055
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8944
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
8899
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...
1
6550
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
5889
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3075
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
2364
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.