<?xml version="1.0" encoding="utf-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: HTML Select item with Icons in addition to just text labels &#8211; applying the CSS background-style to the HTML OPTION element</title>
	<atom:link href="http://technology.amis.nl/blog/994/html-select-item-with-icons-in-addition-to-just-text-labels-applying-the-css-background-style-to-the-html-option-element/feed" rel="self" type="application/rss+xml" />
	<link>http://technology.amis.nl/blog/994/html-select-item-with-icons-in-addition-to-just-text-labels-applying-the-css-background-style-to-the-html-option-element</link>
	<description>Weblog for the AMIS Technology corner</description>
	<lastBuildDate>Fri, 10 Feb 2012 16:47:37 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: anonymous hero</title>
		<link>http://technology.amis.nl/blog/994/html-select-item-with-icons-in-addition-to-just-text-labels-applying-the-css-background-style-to-the-html-option-element/comment-page-1#comment-480888</link>
		<dc:creator>anonymous hero</dc:creator>
		<pubDate>Tue, 23 Aug 2011 05:49:29 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=994#comment-480888</guid>
		<description>How did you do it ? Gimme the code</description>
		<content:encoded><![CDATA[<p>How did you do it ? Gimme the code</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: anonymous coward</title>
		<link>http://technology.amis.nl/blog/994/html-select-item-with-icons-in-addition-to-just-text-labels-applying-the-css-background-style-to-the-html-option-element/comment-page-1#comment-436621</link>
		<dc:creator>anonymous coward</dc:creator>
		<pubDate>Thu, 20 Jan 2011 18:23:19 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=994#comment-436621</guid>
		<description>Does not work in Chrome. ONLY FIREFOX.</description>
		<content:encoded><![CDATA[<p>Does not work in Chrome. ONLY FIREFOX.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wojciech Beling</title>
		<link>http://technology.amis.nl/blog/994/html-select-item-with-icons-in-addition-to-just-text-labels-applying-the-css-background-style-to-the-html-option-element/comment-page-1#comment-279525</link>
		<dc:creator>Wojciech Beling</dc:creator>
		<pubDate>Thu, 10 Jan 2008 23:46:30 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=994#comment-279525</guid>
		<description>use something like this: 
.imagebacked { 
	padding-left: 26px; /* image-width */
	background-repeat: no-repeat;
}
it works for me, thanks for nice post by the way</description>
		<content:encoded><![CDATA[<p>use something like this:<br />
.imagebacked {<br />
	padding-left: 26px; /* image-width */<br />
	background-repeat: no-repeat;<br />
}<br />
it works for me, thanks for nice post by the way</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Upanisad</title>
		<link>http://technology.amis.nl/blog/994/html-select-item-with-icons-in-addition-to-just-text-labels-applying-the-css-background-style-to-the-html-option-element/comment-page-1#comment-235654</link>
		<dc:creator>Upanisad</dc:creator>
		<pubDate>Thu, 14 Jun 2007 10:48:04 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=994#comment-235654</guid>
		<description>This trick is basically useless. It doesn&#039;t work in IE, Opera and Safari. The only browser that makes it work is Firefox. You&#039;ll probably need a more complex JS trick to get it properly done.</description>
		<content:encoded><![CDATA[<p>This trick is basically useless. It doesn&#8217;t work in IE, Opera and Safari. The only browser that makes it work is Firefox. You&#8217;ll probably need a more complex JS trick to get it properly done.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Crash Daemonicus</title>
		<link>http://technology.amis.nl/blog/994/html-select-item-with-icons-in-addition-to-just-text-labels-applying-the-css-background-style-to-the-html-option-element/comment-page-1#comment-223441</link>
		<dc:creator>Crash Daemonicus</dc:creator>
		<pubDate>Thu, 17 May 2007 02:18:27 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=994#comment-223441</guid>
		<description>Quote by Robert Lee: &quot;Internet Explorer won’t support the content style until IE7.&quot;
Im on IE7 full release and select/option background images still aren&#039;t supported. Too bad really...</description>
		<content:encoded><![CDATA[<p>Quote by Robert Lee: &#8220;Internet Explorer won’t support the content style until IE7.&#8221;<br />
Im on IE7 full release and select/option background images still aren&#8217;t supported. Too bad really&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: NaTaN</title>
		<link>http://technology.amis.nl/blog/994/html-select-item-with-icons-in-addition-to-just-text-labels-applying-the-css-background-style-to-the-html-option-element/comment-page-1#comment-136044</link>
		<dc:creator>NaTaN</dc:creator>
		<pubDate>Fri, 20 Oct 2006 20:35:33 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=994#comment-136044</guid>
		<description>Does anybody
knows how to make this work in IE? It seems to work weel in IE 7.0 but but not in previous versions... I can´t see a way around this at all....

tnx</description>
		<content:encoded><![CDATA[<p>Does anybody<br />
knows how to make this work in IE? It seems to work weel in IE 7.0 but but not in previous versions&#8230; I can´t see a way around this at all&#8230;.</p>
<p>tnx</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Fab</title>
		<link>http://technology.amis.nl/blog/994/html-select-item-with-icons-in-addition-to-just-text-labels-applying-the-css-background-style-to-the-html-option-element/comment-page-1#comment-97227</link>
		<dc:creator>Fab</dc:creator>
		<pubDate>Sat, 19 Aug 2006 17:42:34 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=994#comment-97227</guid>
		<description>To display the selected icon in the selectbox as well, simply add something like this to the onclick attributes of the option-tags:
onclick=&quot;this.parentNode.setAttribute(&#039;style&#039;,this.getAttribute(&#039;style&#039;));&quot;

css-class for select-tag:
select.imagebacked {
padding: 2px 0 2px 20px;
background-repeat: no-repeat;
background-position: 1px 2px;
vertical-align: middle;
}

onload you have to set the bg-image of the selected option to the selectbox as well</description>
		<content:encoded><![CDATA[<p>To display the selected icon in the selectbox as well, simply add something like this to the onclick attributes of the option-tags:<br />
onclick=&#8221;this.parentNode.setAttribute(&#8217;style&#8217;,this.getAttribute(&#8217;style&#8217;));&#8221;</p>
<p>css-class for select-tag:<br />
select.imagebacked {<br />
padding: 2px 0 2px 20px;<br />
background-repeat: no-repeat;<br />
background-position: 1px 2px;<br />
vertical-align: middle;<br />
}</p>
<p>onload you have to set the bg-image of the selected option to the selectbox as well</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Eugene Bond</title>
		<link>http://technology.amis.nl/blog/994/html-select-item-with-icons-in-addition-to-just-text-labels-applying-the-css-background-style-to-the-html-option-element/comment-page-1#comment-71588</link>
		<dc:creator>Eugene Bond</dc:creator>
		<pubDate>Tue, 20 Jun 2006 18:57:04 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=994#comment-71588</guid>
		<description>It will not never work in IE because of IE engine.
IE uses special stupid elements for SELECT boxes (I think you know: if you try to put layer over select element - select will be always over)..</description>
		<content:encoded><![CDATA[<p>It will not never work in IE because of IE engine.<br />
IE uses special stupid elements for SELECT boxes (I think you know: if you try to put layer over select element &#8211; select will be always over)..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Lucas Jellema</title>
		<link>http://technology.amis.nl/blog/994/html-select-item-with-icons-in-addition-to-just-text-labels-applying-the-css-background-style-to-the-html-option-element/comment-page-1#comment-57897</link>
		<dc:creator>Lucas Jellema</dc:creator>
		<pubDate>Tue, 16 May 2006 07:06:34 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=994#comment-57897</guid>
		<description>You are right, it does not work in IE! No, I have got no idea about how to do it in IE. I did not even know before writing this blog it could be done at all.</description>
		<content:encoded><![CDATA[<p>You are right, it does not work in IE! No, I have got no idea about how to do it in IE. I did not even know before writing this blog it could be done at all.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Liz</title>
		<link>http://technology.amis.nl/blog/994/html-select-item-with-icons-in-addition-to-just-text-labels-applying-the-css-background-style-to-the-html-option-element/comment-page-1#comment-57813</link>
		<dc:creator>Liz</dc:creator>
		<pubDate>Mon, 15 May 2006 22:18:39 +0000</pubDate>
		<guid isPermaLink="false">http://technology.amis.nl/blog/?p=994#comment-57813</guid>
		<description>Any known methods for creating this to be viewed in IE? Adding the BGimage as a style to the option tag does not work in IE and I was hoping someone knew a way around this. 
Thanks.liz</description>
		<content:encoded><![CDATA[<p>Any known methods for creating this to be viewed in IE? Adding the BGimage as a style to the option tag does not work in IE and I was hoping someone knew a way around this.<br />
Thanks.liz</p>
]]></content:encoded>
	</item>
</channel>
</rss>

