Can you confirm that putting a background image on an option tag is valid
CSS? If it's not then don't blame Microsoft for not supporting it.

Don't blindly hate MS. Sure they need to take the blame for lots of things,
but not everything they do is wrong. 

-----Original Message-----
From: Scott Stewart [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, September 17, 2008 8:57 AM
To: CF-Talk
Subject: Re: CSS Question

as long as M$ is in the game that will *never* happen

Dave Francis wrote:
> Or a browser that adheres to the standard? 
>
> -----Original Message-----
> From: Scott Stewart [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, September 17, 2008 9:44 AM
> To: CF-Talk
> Subject: Re: CSS Question
>
> Updates:
>
> I used a style attribute in the option tag
> (background-image:(url=images/imagename)) it works in FF3 but does 
> absolutely nothing in IE7
>
> I really really wish that someone would come up with a standard that 
> will work in every browser.
>
> Scott Stewart wrote:
>   
>> <cfoutput query="getHexID">
>> <option value="#hex_id#" <cfif hex_id eq 
>> get_category.hex_id>selected<cfelse></cfif>>
>>     <span style="background-color:#hex_id#; border:medium; 
>> width:10px;
>>     
>
>   
>> height:10px;">&nbsp;</span>#hex_id#
>> </option>
>> </cfoutput>
>>
>> any reason why the span tag shouldn't produce a small box colored 
>> with
>>     
>
>   
>> the dynamic hex value
>>
>>   
>>     
>
> --
> Scott Stewart
> ColdFusion Developer
>
> Office of Research Information Systems Research &amp; Economic 
> Development University of North Carolina at Chapel Hill
>
> Phone:(919)843-2408
> Fax: (919)962-3600
> Email: [EMAIL PROTECTED]
>
>
>
>
>
> 



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:312683
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