Nice CSS to fix some things in property inheritance, either by fixing all the elements (*), or by using a class named likeParent:
* {Last updated on 2008-01-01 05:46:42 -0800, by Shalom Craimer
font-family: inherit;
font-size: inherit;
}
.likeParent {
font: inherit;
color: inherit;
text-decoration: inherit;
}
a.likeParent,
a.likeParent:link,
a.likeParent:active,
a.likeParent:visited,
a.likeParent:hover
{
font: inherit;
color: #000000;
text-decoration: none;
}
Back to Tech Journal