> <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;"> </span>#hex_id# > </option> > </cfoutput> > > any reason why the span tag shouldn't produce a small box colored with > the dynamic hex value
Oh I read the other replies first before I noticed that it was inside an option box... I've not done much with styling option elements, but I've heard that the support for it is pretty eratic. -- s. isaac dealey ^ new epoch isn't it time for a change? ph: 781.769.0723 http://onTap.riaforge.org/blog ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:312605 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4