Wednesday, January 14, 2009

font-weight -- normal and bold

The two CSS declarations font-weight: bold and font-weight: normal make the text within an element boldface or normal respectively.
If a particular typeface does not have a boldface font (e.g. MS Sans Serif), all major web browsers simulate bold type by increasing the stroke width.
Applying the CSS declaration font-weight: bold to text that is already in boldface does not increase the weight of the text.

No comments: