I am attempting to customize the appearance of SELECT
/ OPTION
boxes using INLINE CSS.
Unfortunately, my use of background-color
is not producing the desired effect:
<option style='bakground-color:red'>text</option>
My goal is to have 3-4 options with each line displaying a distinct colored background.
All the resources I've come across show examples using external CSS files or a separate STYLE section located above the specific area I'm modifying.
Can this customization be achieved inline?