Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

What is the Precedence of CSS Structure?

Guest
Mar 25, 2009 Mar 25, 2009

Copy link to clipboard

Copied

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
TOPICS
Server side applications

Views

808
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Mar 25, 2009 Mar 25, 2009

Copy link to clipboard

Copied

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
>

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Mar 25, 2009 Mar 25, 2009

Copy link to clipboard

Copied

thanks 😃

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Mar 26, 2009 Mar 26, 2009

Copy link to clipboard

Copied

LATEST
With good price and qualified products, Zhengzhou Vipeak Heavy Industry Machinery Co., Ltd has long been one of the best powder processing machinery companies in China, Welcome all the customers from worldwide to browse our website and choose our machinery.
Being a leading company in Industrial powder processing, Engineering Stone crushing and Construction Sand Making, Zhengzhou Vipeak Heavy Industry Machinery Co., Ltd is a high-tech mining machinery company in China. Our service has expanded to the entire world, almost including 75 countries.From Engineering Stone, Construction Sand to Engineering Powder, All Equipments from VIPEAK exert great productivity and stability on working sites, make the customers satisfied. We strongly feel that customers do not only need equipments with good performance, but in the hope of their efficiency, their benefit and their competitive power。so high value added equipments have been produced.We have never been satisfied; our customer’s satisfaction is our utmost objective.

Crusher|Jaw Crusher|Impact Crusher|Raymond mill|grinding mill|Ball mill
Crusher
Jaw Crusher
Impact Crusher
Raymond mill
grinding mill

Mill Series|Raymond Mill|Super Pressure Trapezium Mill|Straight Centrifugal Grinder
Jaw Crushser|Impact Crusher|Hammer Crusher
Jaw Crushser|Impact Crusher|Hammer Crusher

Three-rings and medium-speed superfine grinding mill|Powder mill
Raymond mill|Raymond grinder|Raymond roller mill|R Pendulum mill
Vertical roller mill|Coarse powder grinder
High Pressure Suspension Grinder|High Pressure Raymond Mill|Powder mill
Fine powder grinding mill|Fine powder equipment|Powder mill
Ball mill

Jaw Crushser|Stone Crusher|Rock Crusher
Impact Crusher|Stone Crusher|Crushing Machine
Sand Making Machine
Sand Washing Machine
Hammer Crusher|crushing machine|Pulverizer
Circular Vibrating Screen
Vibrating Feeder

http://www.grinderpro.com/index.asp
Crusher|Jaw Crusher|Impact Crusher|Raymond mill|grinding mill|Ball mill=Vipeak Heavy Industry in China
http://www.grinderpro.com/HGM.html
Three-rings and medium-speed superfine grinding mill|Powder mill=Vipeak Heavy Industry in China
http://www.grinderpro.com/Raymond.html
Raymond mill|Raymond grinder|Raymond roller mill|R Pendulum mill=Vipeak Heavy Industry in China
http://www.grinderpro.com/Straight.html
Vertical roller mill|Coarse powder grinder=Vipeak Heavy Industry in China
http://www.grinderpro.com/Suspension.html
High Pressure Suspension Grinder|High Pressure Raymond Mill|Powder mill=Vipeak Heavy Industry in China
http://www.grinderpro.com/Micro-powder.html
Fine powder grinding mill|Fine powder equipment|Powder mill=Vipeak Heavy Industry in China
http://www.grinderpro.com/ball.html
Ball mill=Vipeak Heavy Industry in China
http://www.grinderpro.com/Jaw.html
Jaw Crushser|Stone Crusher|Rock Crusher=Vipeak Heavy Industry in China
http://www.grinderpro.com/Impact.html
Impact Crusher|Stone Crusher|Crushing Machine=Vipeak Heavy Industry in China
http://www.grinderpro.com/Sand_Making.html
Sand Making Machine=Vipeak Heavy Industry in China
http://www.grinderpro.com/Sand_Washing.html
Sand Washing Machine =Vipeak Heavy Industry in China
http://www.grinderpro.com/Hammer.html
Hammer Crusher|crushing machine|Pulverizer=Vipeak Heavy Industry in China
http://www.grinderpro.com/Circular_Vibrating_Screen.html
Circular Vibrating Screen=Vipeak Heavy Industry in China
http://www.grinderpro.com/Vibrating.html
Vibrating Feeder=Vipeak Heavy Industry in China

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines