Is there a way to make that normal text and links share the same style in CSS ?
Please find below an example :
div.test, div.test a
{
font-size:0.8em;
}
I would like text and links to get the same style but it is not working as expected…
Any help welcome.
Cheers.
Gotye.
Just specify
Otherwise you are telling links inside
div.testto have 80% font size ofdiv.test, which in turn is 80% of whatever its parent is. That’s 64% the font size ofdiv.test‘s parent, so it appears smaller.If you’re trying to give normal text and link text the same color, or other properties that don’t depend on relative sizing, use
div.test, div.test aas you’re doing but place it in a separate rule. For example: