Page is a not externally linkable
- Code, Content, and Presentation
-- HTML
---- Can I center the first select option text leaving others left justified


rocknbil - 5:05 pm on Dec 23, 2010 (gmt 0)


Is the select wrapped in a <label> like the other fields? I see this all the time:

<label> I am the REAL label <input name="i-am-not-a-label"></label>

I don't know why it's prevalent, but should be

<p><label for="some-field"> I am the REAL label</label> <input name="i-am-not-a-label" id="some-field"></p>

Try that, it may be the culprit (if it's not, at least it will be correct . . . ) A label is an accessibility tool that when focused places the focus into the field with which it's associated.


Thread source:: http://www.webmasterworld.com/html/4243395.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com