We would like to know how to style for the select option.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
option {<!-- www.java 2 s.c om-->
background-color: red;
}
</style>
</head>
<body>
<select>
<option>testing</option>
<option>testing</option>
<option>testing</option>
<option>testing</option>
<option>testing</option>
</select>
</body>
</html>
The code above is rendered as follows: