Does Reset.css affects other stylesheets? -


i starting new project, thought start using reset.css in projects. got concept of using reset.css, 1 thing bothering me if affects other style applied on same element.. in reset.css div have 0 margin , 0 padding... , if apply margin of divs in stylesheet, wont disturbed?

please clear doubt

not if style applied other divs more specific.

http://coding.smashingmagazine.com/2007/07/27/css-specificity-things-you-should-know/

in general style applied using class, or id in selector going take precedence on 1 doesn't. there many other rules in area should become aware of.

i.e.

 div.mystyle {...} 

will overrule

 div {...} 

Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -