Is there any way to style optgroup using CSS on the iPad?

Posted by AzzyDude on Stack Overflow See other posts from Stack Overflow or by AzzyDude
Published on 2012-09-17T15:04:14Z Indexed on 2012/09/17 15:37 UTC
Read the original article Hit count: 1236

Filed under:
|
|

Is there any way to style the HTML element 'optgroup' using CSS? It's specifically important the style appears on the mobile iOS browser for iPad.

The HTML is:

 <optgroup label="Great Britain">
    <option value="EUROPE_ENGLAND">England</option>
    <option value="EUROPE_SCOTLAND">Scotland</option>
    <option value="EUROPE_WALES">Wales</option>
 </optgroup>

And the CSS is:

optgroup {
  color: red;
}

I'm not even sure it's possible to style the iPad's optgroup by the way.

© Stack Overflow or respective owner

Related posts about html

Related posts about css