Greetings all,
while validating my stylesheet, I ran into a problem. (I looked at the W3C site and it still didnt help.) I get an error message for not having a generic font at the end of my string. Now, I totally understand why it needs to be done but heaven help me, I cant seem to get the syntax right. I've got
ex. .main{font-family: verdana,helvetica,sans serif}
im coding my page in XHTML and realize that all attribute values need to be in double quotes.
Coukd someone show me the correct syntax needed for this? I actually copied and pasted the example on W3C and it STILL gave me an error.
Any help would be greatly appreciated!!
Thanks guys and gals!!
MikeIt should be sans-serif!
Cheers! thanks J.Karlsson,
I realized that after I posted the question! Thanks for the help!
Mike
while validating my stylesheet, I ran into a problem. (I looked at the W3C site and it still didnt help.) I get an error message for not having a generic font at the end of my string. Now, I totally understand why it needs to be done but heaven help me, I cant seem to get the syntax right. I've got
ex. .main{font-family: verdana,helvetica,sans serif}
im coding my page in XHTML and realize that all attribute values need to be in double quotes.
Coukd someone show me the correct syntax needed for this? I actually copied and pasted the example on W3C and it STILL gave me an error.
Any help would be greatly appreciated!!
Thanks guys and gals!!
MikeIt should be sans-serif!
Cheers! thanks J.Karlsson,
I realized that after I posted the question! Thanks for the help!
Mike