em unit and CSS

October 2, 2008


Till now, i was using pixel as a type measurement unit for WebPages. Recently I gone through some web typography articles and now I am planning to move on to “em”. Just trying to explore it more and do conformations with this post.

EM is a relative unit rather than absolute, hence it can’t be defined for a specific typeface, its same for all fonts at a given point size. So, if user is using 12 point for running text as its default browser font-size, 1em is equal to 12 pt, 2em (may be for headlines) will be 24 and so on.
Read the rest of this entry »

Advertisements