PDA

View Full Version : Heading Issue in specified Div !!!!


spazzer
10-02-2009, 04:37 PM
Hi,
I have created a class div in my website for commitee members so that I can copy the div three times down the page, when I try to create a new style for the .commiteeMember h1 tag that I,m going to use for the heading of each div the style is overruled by the h1 tag in the globall css file !
Should I style it using an h1 tag inside a class div ?
Am I styling this correctly ?
I thought this would overrule any other styled tag as its more specific, can anyone help about styling tags inside class divs and maybe post a example ?

Thanks for Help,;-) Nick C

Corrosive
10-02-2009, 05:05 PM
I'm sure there is a simple explanation but, the thing is, you should only use h1 once in a page.

edbr
10-03-2009, 12:53 AM
make it h2 and it should be .class h2{yada: yada:}