Let HTML tag inherit its parent's style i.e. set child tag style to parent tag style

Submitted by Local Tree Child on Fri, 04/20/2007 - 11:05.

Sometimes you want to make paragraphs clickable but when putting the text in <a> tag it usually changes the color and weight of the tag. However if you want the text to same as the paragraph you set it to inherit like this

property: inherit;

So the same color and font would become like this

<p><a href="www.mysite.com" style="color:inherit; font-family:inherit;">Lorem ipsum.....</a></p>

urchinTracker(); // -->