* {
padding: 0 0 0 0;
margin: 0 0 0 0;
font-weight: normal;
}
strong {
font-weight: bold;
}
then the strong tag doesn't make things bold.
strong {
font-weight: bold;
}
* {
padding: 0 0 0 0;
margin: 0 0 0 0;
font-weight: normal;
}
this doesn't work either.
help!
psquid
something something something EXPLOSION
Try adding !important to the font-weight in strong, like so:
strong {
font-weight: bold !important;
}
That should make it override any other font-weight setting on elements it gets applied to (unless you have others also important
and applied to it; then it just gets confusing).
Funny, I struggled with the same issue yesterday, I also just added the !important and that works, but it doesn't sit well with me ...
yeah, me neither. it's like * {} is acting as some kind of superior element. sucks
i can do p { padding: 2em; } and it works--it overrides * {} like it should. bah
psquid
something something something EXPLOSION
No kidding. It feels hacky, and I'd definitely try to shift the styles around to get the right result that way, before resorting to !important.