This line in YUI's Reset CSS is causing trouble for me:
address,caption,cite,code,dfn,em,strong,th,var {
font-style:normal;
font-weight:normal;
}
It makes my em
not italic and my strong
not bold. Which is okay. I know how to override that in my own stylesheet.
strong, b
{
font-weight: bold;
}
em, i
{
font-style: italic;
}
The problem comes in when I have text that's both em
and strong
.
<strong>This is bold, <em>and this is italic, but not bold</em></strong>
My rule for strong
makes it bold, but YUI's rule for em
makes it normal again. How do I fix that?