Code:
h1.b { font-weight: bold }
-----------------
<h1 class="b">This is header title</h1>
how about the following ? :
Code:
. { text-decoration: underline }
h1.b { font-weight: bold }
. { text-decoration: underline }
. { text-decoration: underline }
.u { text-decoration: underline }
<p class="u">here is an underline paragraph</p> <p>here is an underlined <span class="u">word</span> in a paragraph</p> <h1 class="u">here is an underlined header</u>
.u { text-decoration: underline } h1.u { font-weight: bold } h1#x { font-weight: normal } #x { text-decoration: underline }
. { text-decoration: underline }
Comment