[thelist] TIP: Styling dropdown menus in NS 4.7

Paul Backhouse paul.backhouse at 2cs.com
Fri Nov 9 07:40:55 CST 2001


Some of you probably know this already, but in NS 4.x you maybe getting
frustrated with not being able to properly style font face and size in
dropdown menus and also the height and widths of them - so heres little
helper for you.


for NS you can place a span round it and this will change the font face and
style for you - for fun, try putting the font-size to 100px - i find it
quite amusing - use your detections scripts for browsers to dtermine whether
to display the "span" or not - a fav script of mine is ASP detection, quick
eay and can be used in config file at the top of your pages.

<tip type="NS Dropdown Menu Styling">
<span style="font-family:verdana; font-size:10px;">
<select>
<option>test</option>
<option>test1</option>
</select>
</span>

</tip>





More information about the thelist mailing list