Friday, January 9, 2009

Font Weight Inheritance

The font-weight property is a heritable property — it is a property that is passed on from ancestor elements to descendant elements.
Example:<div style="font-family: Lindau;font-weight:200;">
<p>The quick brown fox jumps over the lazy dog</p>
</div>

In the above example, the font-weight of 200 is applied to the p element also.

No comments: