Which should I use? (performance)
- by Yim
I want to know a simple thing:
when setting up a style that is inherited by all its children, is it recommended most specific? (even if you don't care others having this style)
Structure: html body parent_content wrapper p
I don't care having parent_content or wrapper having the style
I do care changing the html or body style (or all p)
So what should I use?
#parent_content{
color:#555;
}
#parent_content p{
color:#555;
}
#wrapper{
color:#555;
}
...
Also, some links to tutorials about this would be great