Soldato
ok just to make sure i'm right with what i'm thinking, styling is cascaded using css, so the latest styling that is set will be the styling that is used?
the problem i some reason have is i styled the .content div link to have padding and background colour but now every single link within the content div takes it's styling from that and not of one that is lower.
bascially what i have.
so i have the content with a rule for what a link should be, but i also have one for header, but the one that rules overall is the content and not header.
any reason it doesn't cascade like it should?
thanks
the problem i some reason have is i styled the .content div link to have padding and background colour but now every single link within the content div takes it's styling from that and not of one that is lower.
bascially what i have.
Code:
<div content>
<div header>
<a href="#">something</a>
</div>
</div>
so i have the content with a rule for what a link should be, but i also have one for header, but the one that rules overall is the content and not header.
any reason it doesn't cascade like it should?
thanks