Home › Support Forums › Showcase › Contact form design › Reply To: Contact form design
Daniel Tara
Keymaster
input[type="select"]
and input[type="option"]
aren’t valid selectors. The syntax is tag[attribute="value"]
so it would resolve to this:
<input type="select" ... /> <input type="option" ... />
But the <input>
tag does not accept select
and option
as type
values. (In theory you could do it but it would fall back to the text
value)
The syntax for drop-down select is this
<select name="..."> <option value="...">...</option> ... </select>
So the selectors you are looking for are:
select, option { # CSS properties }
Note that the <option>
tag accepts no CSS properties and the <select>
tag only accepts limited properties like font-size
and line-height
.