Both will apply as they can. In the case of conflict, the
more specific
rule wins. This is called the CSS rule of greater
specificity.
--
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"Bih Wang" <webforumsuser@macromedia.com> wrote in
message
news:gqd0h9$6ui$1@forums.macromedia.com...
> Both CSS commands are defined in the same CSS
document... for example...
> style.css
>
> but one them is more broad, defining simply "img"
> which the other is more specific, defining perhaps "div
layer1 layer2 img"
> (only the image inside layer 2 of layer1)
>
> if i have an image say in layer3, it should apply the
property of "img"
> what about an image inside layer2 of layer1? would the
more specific
> definition applies or the more general (the "img")?
>
> thanks
>