[thelist] Select box validation

apathetic apatheticgenius at gmail.com
Fri Nov 5 09:49:17 CST 2004


On Fri, 05 Nov 2004 09:14:06 -0600, Jay Fitzgerald <jayfitz at bayou.com> wrote:
> I am getting the JS alert box on the code below; but it is not placing
> the borderstyle around the select box:

Well, browsers don't seem to render select boxes with styled borders. 
Try dropping the following into a page and you will see that it just
doesn't work:

<select style="border: 1px solid red;"></select>

I would suggest using a method other than border colour (for example,
a different background colour) to highlight the field.

Tim

-- 
www.apatheticgenius.com
www.hyperlinkage.com - Free online RSS reader


More information about the thelist mailing list