Possible Duplicate:
CSS Select Selector
What is the CSS equivalent to the following when dealing with select lists?
input[type="text"]
input[type="submit"]
The input[type="text"]
CSS selector can be broken down into;
input
; find all elements that are input
elements.[type="text"]
; filter those elements by those which have the type
attribute of text
.Because a select box is a <select>
element rather than a <input type="select" />
, you can just use the select
selector as follows;
select {
/* blah blah blah*/
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With