More links = more HTTP requests = slower pageload. However you can concatenate your CSS files into one to avoid multiple HTTP requests.
About CSS reset, you have a few options:
- Barbarian style: padding:0; margin:0;
- Paladin style: the CSS reset from Eric Meyer resets what needs to be reseted (http://meyerweb.com/eric/tools/css/reset/)
- Hunter style : the CSS "reset" from Nicolas Gallagher is an alternative fixing inconsistancies but preserving default styles (http://necolas.github.com/normalize.css/)
What's the best practice? and linking to multiple css file is good or bad?
More links = more HTTP requests = slower pageload. However you can concatenate your CSS files into one to avoid multiple HTTP requests.
About CSS reset, you have a few options:
- Barbarian style:
padding:0; margin:0;- Paladin style: the CSS reset from Eric Meyer resets what needs to be reseted (http://meyerweb.com/eric/tools/css/reset/)
- Hunter style : the CSS "reset" from Nicolas Gallagher is an alternative fixing inconsistancies but preserving default styles (http://necolas.github.com/normalize.css/)
I personally use the reset from Eric Meyer.
I just use Normalize and it's best to keep your CSS in one file in a production environment.
okay, I'll follow these very helpful advice. thanks a lot guys.