Jump to content

error in the css syntax section...?


merriamsj
 Share

Recommended Posts

I'm not entirely sure, but in the CSS syntax section it says: p {font-family: "sans serif"} -- when it talks about multiple words in a css declaration... shouldn't that be "sans-serif" in which case it's not really two words? in the later list of font stuff, it is sans-serif, so I just wanted to be sure...

Link to comment
Share on other sites

I'm not sure, but i think sans-serif would refer to the generic font TYPE, while "sans serif" would refer to an EXACT font named "sans serif", so both of theese examples are right, as long as the user had a font named "sans serif" though.

Link to comment
Share on other sites

Why haven't they explained how to URL() to a custom font? :)Every reasonable idea does not work :blink: How can I upload a font, and then use it on my pages? :)Should be at the CSS tutorial, thus this is some sort of error in the tut :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...