I have this HTML structure:
<body>
<header>
</header>
<div class="limit">
<section class="conteudo">
<header>
<h1>TESTE</h1>
<h3></h3>
</header>
<article>
</article>
</section>
<section class="comentarios">
</section>
</div>
<footer>
</footer>
</body>
And this CSS style sheet:
/* header principal - topo da pagina */
header{
background:#FE634A;
border-bottom:2px solid #D24726;
width:100%;
height:100px;
}
section.conteudo{
width:960px;
height:200px;
}
/* tag header da section.conteudo - titulo do artigo*/
section.conteudo header{
width:960px;
height:200px;
}
What happens?
The 'header.content header' selector inherits header attributes which is something I do not happen, what do I do to prevent it? Any elegant solution for that not to happen?
In case my site looks like this: