Jump to content
merriamsj

error in the css syntax section...?

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...

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Ah... just a confusing example then... perhaps they should change it to "Times New Roman" or something so people don't think they can write sans serif or sans-serif...

Share this post


Link to post
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 :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...