I'm trying to style all <select>
elements that are a descendant of a <div>
. I could have a put a class on them but i was trying to be clever :-)
I believe it doesn't work in ie6 but does it work in ie7 etc?
How do you do it
Here is one of my selects (it has no class or id) but they are all descendents of a div whose id is "content"
<div id="content">
<select >
<option></option>
</select>
</div>
Any ideas?