Is there some kind of CSS rule or suggestion not to use words for font colors. I am using black and red and the validator on W3C those colors dont exist
Pat
These are all valid ways to write the same thing:
color: black;
color: #000000;
color: #000;
color: rgb(0, 0, 0);
color: rgb(0%, 0%, 0%);
There are 17 keyword color names (including black and red) recognized in the CSS2 spec, all of them should validate the same as any of the other methods above.
If you've tried these, post some of your CSS to make it easier to help.
First i used short form and use like font-size: 14px; black; then i changed it to font-color: black; and it still rejected it same with the red color yet the purple color and the white color it never bothered mentioning.
Pat
I decided to run the CSS thru the validator tonight alo0ng with the other pages on the site. On my laptop it looks good yet when i go to my in-laws headers and footers are out of line other stuff is all messed up and they have the same O/S as me with the same resolution and a 15in monitor so i am confused why it looks good on here and others tell me on theirs it looks good yet the in-laws it looks crappy
Pat
Bookmarks