Hi all. I am just starting the validation of html and css , I have validate successfully the html and css files but when i shall validate my overall css from index file it shows me the css error like : 3 a[rel~="nofollow"] Too many values or values are not recognized : thin dashed firebrick I did not find this "a[rel~="nofollow"]" can anyone tell me about that how can i correct this? Thanks
See §6.12 Link types. "nofollow" is not a valid value. It is a Google proprietary value that the search engines usually honor. There is no reasonable cause not to use it. edit: Having reread your post, I am not sure I answered your question. Can you please clarify? cheers, gary
Can you also provide a link to the site in question? We may be able to point specifically to where the problem is.
Friends thanks to reply me. i have attached the print sceen image to show you the error, i hope you understand . http://www.funadd.com/image.jpg Waiting for your reply. Thanks
Huh, it looks like that's somehow the CSS on the validation page! See, all the links are pink with a "firebrick" dashed border! Maybe an error occured when it tried to read your local file? You could try copy-pasting your CSS instead of giving it a local Url. The error itself on the top seems to be because those values (thin dashed firebrick) are listed for a border but without "border" being in the declaration. Meaning if this was supposed to be part of your CSS file, it would be something like a[rel~="nofollow"] { border: thin dashed firebrick; } Not sure what Gary is talking about, I thought CSS did not look to see that the attribute is allowed, and I've never seen <a href="#" rel="nofollow">link</a> as an error, at least, not from the validator. Not with Strict. *edit tested with a page of my own, nofollow in a rel attribute is ok as far as the validator is concerned, so it is certainly not the reason for this error here.
I have uploaded my css file now no error shown . Thanks for telling me. The error display only when i have checked it locally. Thanks for everyone to participate.
Thanks Stomme. My decrepit memory was telling me that the html validator threw at least a warning for invalid attribute values. The following (pun unintended) does pass with no error or warning. <body> <p><a href="http://example.com/" rel="nofollow">go</a></p> </body> Code (markup): cheers, gary