Monday 14 September 2009 5:15:58 am
Hello,
I don't know if it's possible unless I didn't find answer, but how could I apply several css classes to one element ? Let me explain : I have a top page with a h2 as first thing. I would like that this h2 have a specific color, for example red, created in the css file like
h2.red {color: red;}
and as it's at the top of the page, that it doesn't have any top margin, different to other h2
h2.pagetop {margin-top: 0;}
How is it possible to have at the end something like
<h2 class="red pagetop">My title</top>
With the [header] tag, I'm only able to select one css style. Thank you.
|