What would I need to do to make the above apply to only text boxes and selects, not checkboxes and radio buttons?
_____________________________
Duane
Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.
Tailslide
Posts: 6368 Joined: 5/10/2005 From: Out here on the raggedy edge Status: online
RE: Class Help - 11/7/2006 16:39:39
Don't add the class to the checkboxes/radios?
Posts: 6385 Joined: 6/21/2002 From: West Point Utah USA Status: offline
RE: Class Help - 11/7/2006 16:44:44
The class is added to the form itself and then the input elements inherit it.
_____________________________
Duane
Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.
Posts: 6385 Joined: 6/21/2002 From: West Point Utah USA Status: offline
RE: Class Help - 11/8/2006 10:28:06
quote:
ORIGINAL: Tailslide
Can you add a class specifically for the radios and checkboxes to overrule the other rule?
That's what I ended up doing. I had tried that, but must have done something wrong the first time as the class for the radios was being ignored. Tried it again and it worked.
_____________________________
Duane
Some people are like Slinkies . . . Not really good for anything . . . . . But they still bring a smile to your face when you push them down a flight of stairs.