My code is short:
select {
font-size:1.2em !important;
padding:4px;
color:#555;
margin-left:5px;
}
<select name="loc" id="loc_login">
<option value="1" selected="selected">1</option>
<option value="2">2</option>
<option value="3">3</option>
</select>
The problem is that font in non-selected options, (2 and 3) is much smaller than in selected option. That is shown on some computers I've used for test (in Firefox only). All computers with the problem are running under Windows 7, but a few different (50+) versions of Firefox. I have tried on some more Win7 computers, with same Firefox version, but all fonts are same size.
I have even put this code on another page, where it was the only thing in the body
tag and the only style defined, with the same result. Also, I've tried changing the default font in the browser, which didn't work either.
When I remove the CSS for the select
, all fonts are small and same size.
The goal is that all of them should be 1.2em
. Any ideas ?