CSS
Let HTML tag inherit its parent's style i.e. set child tag style to parent tag style
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>
Link precedence in CSS2 class selectors
Had some problems with the precedence of an A tag class in my code. The link text keep coming up red instead of black as I had specified it should be in the dot-class in my style sheet, .MyClass. I tracked the problem down to the precedence for A.visited over <a href...class="MyClass">www.MyLink.com</a>.