<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[background-color property for option element]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">The background-color property of an option element is being specified like so in the element:<br />
style="background-color:rgb(0,0,119)"</p>
<p dir="auto">In Firefox the background has the colour as specified. In Opera, Chrome and Safari the background is white.</p>
<p dir="auto">In the Opera inspector the author's property displays normally:<br />
element.style {<br />
background-color: rgb(0,0,119);<br />
}</p>
<p dir="auto">and the useragent's property displays faded:<br />
select {<br />
...<br />
background-color: white;<br />
...<br />
}</p>
<p dir="auto">Anyone know why the useragent's style is given priority?</p>
<p dir="auto">Cheers.</p>
]]></description><link>https://forums.opera.com/topic/5615/background-color-property-for-option-element</link><generator>RSS for Node</generator><lastBuildDate>Fri, 07 Aug 2026 17:10:22 GMT</lastBuildDate><atom:link href="https://forums.opera.com/topic/5615.rss" rel="self" type="application/rss+xml"/><pubDate>Sun, 12 Oct 2014 13:17:46 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to background-color property for option element on Wed, 15 Oct 2014 08:27:21 GMT]]></title><description><![CDATA[<p dir="auto">Its more a standards issue.</p>
]]></description><link>https://forums.opera.com/post/54131</link><guid isPermaLink="true">https://forums.opera.com/post/54131</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Wed, 15 Oct 2014 08:27:21 GMT</pubDate></item><item><title><![CDATA[Reply to background-color property for option element on Mon, 13 Oct 2014 15:09:32 GMT]]></title><description><![CDATA[<p dir="auto">Thanks for all your info.</p>
]]></description><link>https://forums.opera.com/post/53921</link><guid isPermaLink="true">https://forums.opera.com/post/53921</guid><dc:creator><![CDATA[imokali]]></dc:creator><pubDate>Mon, 13 Oct 2014 15:09:32 GMT</pubDate></item><item><title><![CDATA[Reply to background-color property for option element on Mon, 13 Oct 2014 11:28:25 GMT]]></title><description><![CDATA[<p dir="auto">You said it for yourself:</p>
<blockquote>
<p dir="auto">In Opera, Chrome and Safari the background is white.</p>
</blockquote>
<p dir="auto">That means it's a Chromium-issue</p>
]]></description><link>https://forums.opera.com/post/53911</link><guid isPermaLink="true">https://forums.opera.com/post/53911</guid><dc:creator><![CDATA[christoph142]]></dc:creator><pubDate>Mon, 13 Oct 2014 11:28:25 GMT</pubDate></item><item><title><![CDATA[Reply to background-color property for option element on Mon, 13 Oct 2014 11:05:53 GMT]]></title><description><![CDATA[<p dir="auto">Thanks, do you know if this is an Opera feature or a Chromium feature?</p>
]]></description><link>https://forums.opera.com/post/53909</link><guid isPermaLink="true">https://forums.opera.com/post/53909</guid><dc:creator><![CDATA[imokali]]></dc:creator><pubDate>Mon, 13 Oct 2014 11:05:53 GMT</pubDate></item><item><title><![CDATA[Reply to background-color property for option element on Mon, 13 Oct 2014 10:14:46 GMT]]></title><description><![CDATA[<p dir="auto">The drop-down menus used for select’s options is a native menu. You cannot change their style at this time.</p>
]]></description><link>https://forums.opera.com/post/53907</link><guid isPermaLink="true">https://forums.opera.com/post/53907</guid><dc:creator><![CDATA[[[global:former_user]]]]></dc:creator><pubDate>Mon, 13 Oct 2014 10:14:46 GMT</pubDate></item><item><title><![CDATA[Reply to background-color property for option element on Sun, 12 Oct 2014 20:11:19 GMT]]></title><description><![CDATA[<p dir="auto">Looks like a mac thing.</p>
]]></description><link>https://forums.opera.com/post/53870</link><guid isPermaLink="true">https://forums.opera.com/post/53870</guid><dc:creator><![CDATA[imokali]]></dc:creator><pubDate>Sun, 12 Oct 2014 20:11:19 GMT</pubDate></item><item><title><![CDATA[Reply to background-color property for option element on Sun, 12 Oct 2014 19:42:23 GMT]]></title><description><![CDATA[<p dir="auto">Opera 24 &amp; 26 @ Windows 8.1</p>
]]></description><link>https://forums.opera.com/post/53864</link><guid isPermaLink="true">https://forums.opera.com/post/53864</guid><dc:creator><![CDATA[christoph142]]></dc:creator><pubDate>Sun, 12 Oct 2014 19:42:23 GMT</pubDate></item><item><title><![CDATA[Reply to background-color property for option element on Sun, 12 Oct 2014 15:07:48 GMT]]></title><description><![CDATA[<p dir="auto">Thanks.</p>
<p dir="auto">The code at <a href="http://jsfiddle.net/6ce5d5a6/" target="_blank" rel="noopener noreferrer nofollow ugc">http://jsfiddle.net/6ce5d5a6/</a> only works on Firefox on Mac OS X 10.6.8.</p>
<p dir="auto">Which operating system have you seen it work on?</p>
]]></description><link>https://forums.opera.com/post/53847</link><guid isPermaLink="true">https://forums.opera.com/post/53847</guid><dc:creator><![CDATA[imokali]]></dc:creator><pubDate>Sun, 12 Oct 2014 15:07:48 GMT</pubDate></item><item><title><![CDATA[Reply to background-color property for option element on Sun, 12 Oct 2014 13:24:43 GMT]]></title><description><![CDATA[<p dir="auto">works fine here (Opera 26):<br />
<a href="http://jsfiddle.net/6ce5d5a6/" target="_blank" rel="noopener noreferrer nofollow ugc">http://jsfiddle.net/6ce5d5a6/</a></p>
]]></description><link>https://forums.opera.com/post/53840</link><guid isPermaLink="true">https://forums.opera.com/post/53840</guid><dc:creator><![CDATA[christoph142]]></dc:creator><pubDate>Sun, 12 Oct 2014 13:24:43 GMT</pubDate></item></channel></rss>