On Tuesday 2006-02-21 17:33 -0600, Vinson Gracia (777) wrote: > Totally rains on my parade... but thanks for the W3C Spec! > > I think the W3C is wrong on this one though. I'd say at least 10^2^2 > terabytes of code is being used to style the asterisks for required > fields on forms around the world. I think changing this would vastly > improve bandwith on the internet as a whole. :P
That's not what :first-letter is for. It sounds like what you really want is more like: input:required::before { content: "*"; color: red; } See http://www.w3.org/TR/css3-ui/#pseudo-required-value for :required and CSS2.1 / css3-selectors for the rest. -David -- L. David Baron <URL: http://dbaron.org/ > Technical Lead, Layout & CSS, Mozilla Corporation
pgpIHGmH74f4N.pgp
Description: PGP signature
______________________________________________________________________ css-discuss [EMAIL PROTECTED] http://www.css-discuss.org/mailman/listinfo/css-d IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7 List wiki/FAQ -- http://css-discuss.incutio.com/ Supported by evolt.org -- http://www.evolt.org/help_support_evolt/