I am the only author of twenty-three intranet web applications. I am redoing our template and am wondering if I should reset and define default styles for all the tags, or only what I need. There is just some stuff I don't use and I want to keep the CSS as clean and small as possible (mostly for mobile users).
I really am the only person writing these. Bad idea to keep the size down? It would mostly be things like MARK, RUBY, RT, SAMP, etc.
Nope, not a bad idea at all. You should almost always trim the fat. The only suggestion that I would make is that if you are using a well know normalize/reset, perhaps add a comment at the top stating that you have modified it, removing unused declarations.
I forgot that if you use HTML5 that you should reset stuff to block level elements because elements that the browser does not understand will default to inline elements.
I forgot that if you use HTML5 that you should reset stuff to block level elements because elements that the browser does not understand will default to inline elements.
I am the only author of twenty-three intranet web applications. I am redoing our template and am wondering if I should reset and define default styles for all the tags, or only what I need. There is just some stuff I don't use and I want to keep the CSS as clean and small as possible (mostly for mobile users).
I really am the only person writing these. Bad idea to keep the size down? It would mostly be things like MARK, RUBY, RT, SAMP, etc.
Blame my thinking on this guy: http://csswizardry.com/2011/01/the-real-html5-boilerplate/
Nope, not a bad idea at all. You should almost always trim the fat. The only suggestion that I would make is that if you are using a well know normalize/reset, perhaps add a comment at the top stating that you have modified it, removing unused declarations.
Do the h1, h2, h3... because IE makes them bigger than every other browser
I forgot that if you use HTML5 that you should reset stuff to block level elements because elements that the browser does not understand will default to inline elements.
Certainly, for CSS, I would start all over again working from normalize.css (which you can trim down further if required).
If, as you say there is a lot of stuff you aren't using in your existing set up it only make sense to rip everything out and start from a fresh slate.
Re-using old (and possibly obsolete code) is a real possibility when stripping out an old file.
Normalize.css will do that for you.