grillcheese || It's All Good.

Posted on 8.05.2005

CSS: px, pt, and em

The difference between px, pt and em. - The CSS Weblog - css.weblogsinc.com _: "Em is simply a relative form of measurement. If you set all of the fonts for within the body of your page to be 12px, for instance, by setting an em of 1.5 (i.e. font-size: 1.5em) would make your text be 50% bigger (150% of the current size) than your base font size. So, if you want percentage-based font sizes for all elements on your page, then you can set all but your base font size with em?s. It comes in really handy if you suddenly want all of the text on your site to be slightly larger? all of the other elements will follow the leader."

posted by grillcheese at 10:19 AM

0 Comments:

Post a Comment

<< Home

Posts

  • Considering Sirrus Satellite Service?If you are th...
  • Wimpy Music Player Internet Radio
  • San Diego Travel Guide San Diego Vacations & Touri...
  • Eric Meyer on CSS Using @import Restrictions If y...
  • Writing Effective Use Cases An up-to-date guide t...
  • XHTML Primer XHTML: Guidelines All developers are...
  • Ulrich SchnaussA Strangely Isolated PlaceJust hear...
  • Soldier survives sniper attack During a routin...
  • The next UK Antarctic Base. BBC NEWS | Science/Na...
  • CSS.Styled.Form.Controls As you may or may not kno...

Radio/Podcasts

  • Pandora Radio
  • Slacker Radio
  • imeem
  • Digitally Imported Radio: Chillout
  • Last.fm: Ulrich Schnuass Simliar Artists
  • Onion Radio News
  • Podcast: Amped New Music Weekly
  • solipsistic NATION
  • Podcast: Learn Spanish
  • Podcast: Learn Chinese
  • Podcast: Marketplace
  • Podcast: Amateur Traveler
  • Podcast: Current Events

Video

  • Hulu
  • vimeo
  • Joost
  • Filmz.tv
  • The Office
  • ABC

Reading

  • Tab's Blog
  • G-Rant Blog
  • Techcrunch
  • Valleywag
  • Pulse 2.0
  • Digg
  • Google Reader