treehouse : what would you like to learn today?
Web Design Web Development iOS Development

So Chris......

  • What CSS Reset do you use?

    If custom will you post?

    And, Finally What are your thoughts on using:
    font: 62.5%

    in a css reset? - some say it's bad others say it's totally fine......

    Thanks!
  • He just uses a simple:

    * { margin: 0; padding: 0; }


    Very simple.
  • Yep that's about it... it's worked fine for me on countless projects. 62.5% is if you want to size text in EMs and have the 1em=10px thing going on. All good, I just hardly ever use EMs anymore personally.
  • "chriscoyier" said:
    All good, I just hardly ever use EMs anymore personally.

    I've been pondering making the change over to px as IE6 slowly gets shunned. Is that what you're using now?
  • Interesting.

    I've read countless times the suggestion of using em's instead of pixels when it comes to font size, I've worked with em's for years very well and I still do.

    Chris, would you mind explaining why you yourself use pixels for font size instead of em's and what are the benefits you see in doing so?

    I never expected this :mrgreen::

    body { font:13px/1.4 Verdana, \"Lucida Grande\", Arial, Helvetica, Sans-Serif; ...}

    Not sure if you do already, I haven't searched, but it'd be great if you could address this topic as an article in the main page for everyone, since many people consider your comments and recommendations a lot.

    Thanks.