In this page ' http://htmlhelp.com/reference/css/text/text-decoration.html',
this code is used:
<span style="text-decoration: line-through">line-through</span>

I am able to view the desired effect using IE8 and FF 3.5.6

I cannot test this on IE7 and earlier at the moment, however.

William

-----Original Message-----
From: Gerald Guido [mailto:[email protected]] 
Sent: Monday, January 04, 2010 2:47 PM
To: cf-talk
Subject: Re: line-through in select tag


This worked on FF but not IE 7 (got figure).

<select>
<option  style="text-decoration:line-through;"><span
style="text-decoration:line-through;">#dollarFormat(productData.Price)#</spa
n></option>
</select>

On Mon, Jan 4, 2010 at 3:18 PM, Chad Gray <[email protected]> wrote:

>
> Anyone know of a way to get a CSS line-through in an HTML select tag?
>
> I tried this but it does not work.
>
> <select>
> <option><span
>
style="text-decoration:line-through;">#dollarFormat(productData.Price)#</spa
n></option
> </select>
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:329402
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to