Created
October 20, 2010 17:09
-
-
Save gavinblair/636842 to your computer and use it in GitHub Desktop.
Adds : after labels and * after required labels
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Adds : after labels */ | |
form label:after{ | |
content:":"; | |
} | |
/* Adds * after required labels */ | |
form label.required:after{ | |
content:"*"; | |
} |
Right, I guess that makes more sense (re: form vs. #myform). Updated.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Right, this solution is only good for sites that don't support IE6. I'm wondering now if it will work in IE7...