Log in

View Full Version : How to underline a word in Option Style



jass
04-03-2010, 12:40 PM
In the following code, is it possible to have the word Demostration "underlined"?


<option style="TEXT-DECORATION: hover; color: blue;" value="video.wmv"><font size=3>Demostration</font></option>

coothead
04-03-2010, 02:09 PM
Hi there jass,

of these browsers IE, Opera, Safari and Firefox, only Firefox rendered text-decoration:underline for the option element. ;)

coothead

oidale
04-03-2010, 07:19 PM
yes! its possible to underline the word, just put the tag <u></u> before and after the word you want to underline.:D

coothead
04-03-2010, 07:36 PM
Hi there oidale

and a warm welcome to these forums. ;)

Of these browsers IE, Opera, Safari and Firefox, none rendered the u element within the option element. ;)

Do you have the name of this obscure browser for which your assertion is true?

coothead

djr33
04-03-2010, 10:23 PM
By the way you are missing an 'n'. It's demoNstration.