CSS attributes for date_select

I don't believe date_select provides for HTML options. What would it mean? Apply the same class="mandatory" to each of the three generated <select>s? I'd put the class attribute in the parent element of the date_select.

Michael Glaesemann grzm seespotcode net

You mean you want to set the background-color of the select rather then the select's parent element, correct?

HTML fragment:    <p class="mandatory">      <select name="foo">        <option value="bar">bar</option>        <option value="baz">baz</option>      </select>    </p>

CSS: p.mandatory select { background-color: red }

Michael Glaesemann grzm seespotcode net

p.mandatory { display:inline }

Michael Glaesemann grzm seespotcode net