Using reset css - any reasonable drawbacks/counterarguments? -
So far, with CSS reset, web page designing was a standard step for me at the beginning.
I once gave the opinion that it is bad ; But I had no chance to ask the person who said for the reasons.
Now I want to know which type of defects you can specify.
Using a CSS reset means that in many cases, there are several rules that are not necessary . You first body {margin: 0; Padding: 0; }
in reset.css and then body {margin: 0 auto; Padding: 20px; }
in style.css or something else, only when the results that specify later will give the same result. And will you really use all the vague elements that are included in the reset?
What I sometimes do is, I add a reset CSS, I'm starting coding, and then I see my page in DragonFloo or Firebug, I'll see that from reset.css Which rules are overridden, I can remove from reset.css, and at the end the file is likely to be very small or empty.
Comments
Post a Comment