Tony didn't get any cake

  1. Home
  2. About
  3. Subscribe
  4. Archive
  5. Random

Tony didn't get any cake

Newer
Older
  • Basic CSS I didn’t know

    Here are just some little syntax things that I have learnt:

    • If the property value has more than one word it needs to be placed in quotes. e.g. font-family:”sans serif”
    • Don’t leave spaces between the value and the units e.g. 1000px not 1000 px
    • In one of my first posts I said that CSS had to be defined inside <!— and —> now I know why! These are HTML comments. And the reason why you define it inside a comment is just in case someone is using an old browser then the CSS won’t recognize the syle tag and it will display your CSS as text - not cool!

    next I’ll tackle background images.

    Posted on April 29, 2009
    Comments (View)
  • blog comments powered by Disqus
  • whatidone
  • throwing-myself-into-the-world
  • brilliant-at-whatever

Field Notes Theme. Designed by Manasto Jones. Powered by Tumblr.