Search the web
Sign In
New User? Sign Up
validation · Techniques for HTML form validation
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Show off your group to the world. Share a photo of your group with us.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Confused again...   Message List  
Reply | Forward Message #185 of 427 |
Using the below style, my input boxes which are designated as
required show up with the thin red border. How do I get any of the
other "styles" to work, i.e. thin dotted black, etc?


<STYLE>
input.required {border: thin solid red}
input[type="text"] {border: thin dotted black; padding: 1px 1px;
padding-left: 1px; padding-right: 1px}
input[type="text"].required {border: 1px dashed red}
input[type="text"]:focus {background-color: white; border: 1px solid
white}
</STYLE>




Tue Nov 13, 2001 6:00 pm

maxons
Offline Offline
Send Email Send Email

Forward
Message #185 of 427 |
Expand Messages Author Sort by Date

Using the below style, my input boxes which are designated as required show up with the thin red border. How do I get any of the other "styles" to work, i.e....
maxons@...
maxons
Offline Send Email
Nov 13, 2001
6:00 pm

they are for CSS level 2 compliant browsers. your browser may not support them. http://www.w3.org/TR/REC-CSS2/selector.html#q1 ... From:...
Matthew Frank
somematt
Offline Send Email
Nov 13, 2001
6:30 pm

I'm using IE5.5. What is the difference between the following: input.required {border: thin solid red} input[type="text"].required {border: 1px dashed red} ...
maxons@...
maxons
Offline Send Email
Nov 13, 2001
6:45 pm

[type="text"] is a specific type of style selector. the link should explain what it means. basically, the second rule applies only to -textboxes- marked...
Matthew Frank
somematt
Offline Send Email
Nov 13, 2001
6:59 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help