Forums

This topic is locked

list/menu widths

Posted 17 Sep 2004 02:10:44
1
has voted
17 Sep 2004 02:10:44 shaun carter posted:
is there sizing (horizontal) code for list/ menu Items or another way that I can make the list/menu item 18 characters without initially selected text having to be shown.

thanks in advance
Shaun

Replies

Replied 17 Sep 2004 13:31:59
17 Sep 2004 13:31:59 Lee Diggins replied:
Hi Shaun

You can using the style attribute, but not by the number of characters:

<pre id=code><font face=courier size=2 id=code> &lt;select name="select" style="width: 250px;"&gt;
&lt;option selected&gt;Select from list&lt;/option&gt;
&lt;option value="1"&gt;Item One&lt;/option&gt;
&lt;option value="2"&gt;Item Two&lt;/option&gt;
&lt;option value="3"&gt;Item Three&lt;/option&gt;
&lt;/select&gt; </font id=code></pre id=code>

You can also set this in a CSS class.

Digga

Sharing Knowledge Saves Valuable Time!!!

Edited by - Digga the Wolf on 17 Sep 2004 13:33:04
Replied 17 Sep 2004 18:21:55
17 Sep 2004 18:21:55 shaun carter replied:
thanks, that helps

<img src=../images/dmxzone/forum/icon_smile_approve.gif border=0 align=middle>

Reply to this topic