Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Default styles?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #41330
    hero
    Member

    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/

    #117354
    Paulie_D
    Member

    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.

    #117390
    Paulie_D
    Member

    >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.

    **[Normalize.css](http://necolas.github.com/normalize.css/2.0.1/normalize.css “Normalize.css”)** will do that for you.

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘CSS’ is closed to new topics and replies.