[thelist] Select box validation

Peter Brunone (EasyListBox.com) peter at easylistbox.com
Fri Nov 5 10:38:54 CST 2004


	This is the part where I say "If you're using ASP.NET, you can
do this with EasyListBox"...

	Of course Tim's right for the alternative; a different
background or other cue would be your best bet with the old-school
select element.

Peter

-----Original Message-----
From: thelist-bounces at lists.evolt.org On Behalf Of apathetic

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