CSS length units you’ve never used

I’ve been doing CSS layouts for quite some time now and it is safe to say that I’ve never used most of the length units that are available with the CSS 2.1 specification.

If you’re like me, you’ve used pixels (px) the most, perhaps a sprinkling of points (pt) for font sizing and then for all you accessibility gurus, ems (em). But I’m guessing you have never used, or even come close to using, any from the following list:

  • ex – x-height, the height of the letter “x”
  • in – inches
  • cm – centimetres
  • mm – millimetres
  • pc – picas

If you have, please respond and, if possible, show me a Web site you worked on that uses any of these types listed above. Or, if you know of a Web site that does that will work as well.

You’ve got to think – anybody who’s done a CSS layout for a site based on picas is mostly likely a dude; or has WAY to much time on his or her hands.

This entry was posted in CSS and tagged , , , , , . Bookmark the permalink.

One Response to CSS length units you’ve never used

  1. I’ve been doing CSS layouts for quite some time now and it is safe to say that I’ve never used most of the length units that are available with the CSS 2.1 specification.