• Post Reply Bookmark Topic Watch Topic
  • New Topic

How to display the full value in select tag  RSS feed

 
Sethu Raman
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

I have included the html code below in which i want to display the entire value of the <option> tag as a pop up when it is clicked so that it will be easier for the user to view the entire option before selecting.

In this case the size of the combo box should not increase.

Here is the code....

<html>

<head>
<title>Combo Box</title>
</head>

<body>
<table>
<tr>
<td>Click on a particular category of tags to jump directly to it, or browse the full reference list</td>
<td>
<select name="menu" id="asip" style="width: 100px;" >
<option selected value="NA">Enclosing menu in a Div tag with relative position1</option>
<option value="NA">Enclosing menu in a Div tag with relative position2</option>
<option value="NA">Enclosing menu in a Div tag with relative position3</option>
 </td>

<td>Click on a particular category of tags to jump directly to it, or browse the full reference list</td>
<td>
<select name="menu" id="asip" style="width: 100px;" >
<option selected value="NA">Enclosing menu in a Div tag with relative position1</option>
<option value="NA">Enclosing menu in a Div tag with relative position2</option>
<option value="NA">Enclosing menu in a Div tag with relative position3</option>
</td>

</tr>
</table>
</body>

</html>

Thanks in advance...

Regards.,
Sethu
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Only way to show a full value of the select element in all versions of IE is to make it wider. Firefox does it automaticlally.

Eric
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can try adding title="ahjagsdjhagsdhgas jhsdgashdgjasgdjhsagd ashgd" to the option tag, but that only wirks with IE7.

Eric
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!