the style and class attributes on optionn tag seem to be ignored in FF69 on Ubuntu Linux 的最新解答https://support.mozilla.org/zh-TW/questions/12690772019-09-19T05:36:06-07:00I have no problem styling the select. It Is the option tags for which FF is ignoring both class and2019-09-19T05:36:06-07:00jamescobbanhttps://support.mozilla.org/zh-TW/questions/1269077#answer-1253407<p>I have no problem styling the select. It Is the option tags for which FF is ignoring both class and style. I should not be forced to use JavaScript to make "male" display in blue, female in red, and unknown in green.
</p>In Firefox it is not easy to style SELECT tags.
See Styling with CSS in the docs on MDN.
https://de2019-09-18T03:05:26-07:00cor-elhttps://support.mozilla.org/zh-TW/questions/1269077#answer-1253037<p>In Firefox it is not easy to style SELECT tags.
</p><p>See Styling with CSS in the docs on MDN.
</p>
<ul><li><a href="https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#Styling_with_CSS" rel="nofollow">https://developer.mozilla.org/en-US/docs/Web/HTML/Element/select#Styling_with_CSS</a>
</li></ul>