So, I have a SELECT element that is on a Form as well as some other INPUT textboxes.
I have the same style set to all of them. The textboxes look nice, they are the size I want with the right spacing and the font is nice.
The select (dropdown box) looks like the classic crappy out of the box browser drop down list. It's not listening to the fact that I have the following in my style sheet (same as for inputs)
select {
border: 1px solid #e2e2e2;
background: #fff;
color: #333;
font-size: 1.2em;
margin: 5px 0 6px 0;
padding: 5px; }
input, textarea {
border: 1px solid #e2e2e2;
background: #fff;
color: #333;
font-size: 1.2em;
margin: 5px 0 6px 0;
padding: 5px;
width: 300px; }
When I load the page, the SELECT element looks like crap. When I inspect it in Chrome it shows no matched CSS styles. If, in Chrome, I manually paste in these styles for this element in developer tools, all the sudden the SELECT element looks like I have intended. Why isn't it picked up by the browser when page loads?
Happens in Chrome, and IE. Haven't tested other browsers.