Please explain me Eric Meyer's CSS reset

Nughessiggesk

New Member
First of all I want to tell you why I'm asking this question. I usually update projects that have been written poorly and without a reset. I want to improve the project's quality so it seems that applying a CSS reset is absolutely necessary.I don't want to do a hard work of pixel perfect testing in every browser every time I change something and I don't want to completely rewrite all CSS.So:When I'm writing: \[code\]*{ margin:0; padding:0; border:0;}\[/code\]I know what trouble to expect: \[code\]<p>\[/code\] will loose padding and \[code\]<input>, <select>, etc.\[/code\] will loose padding and border. So I have to specify them manually.This code is more difficult to understand:\[code\]*{ font-size: 100%; font: inherit; vertical-align: baseline;}\[/code\]And I'm completely confused with this:\[code\]body { line-height: 1;}\[/code\]
 
Top