153 posts
  • Bought between 1 and 9 items
  • Europe
  • Exclusive Author
  • Has been a member for 4-5 years
AphroditeDesign says

Do you think that Eric goes too far with his CSS reset? I need only a one simple reset for my designs. Can you tell me what are best practices and tips for creating them? Thanks.

P.S. Why we cant use only * { margin:0; padding:0; } ?

17 posts
  • Exclusive Author
  • Has been a member for 4-5 years
  • United Kingdom
twincircuits says

I always look at what I’m building first:

- Do the links have underlines? - Do we need borders and stuff? - etc.

Then I’ll knock up something like this:

  • { margin: 0; padding: 0; border: none; outline: none; text-decoration: none; }

Mind you, if you’re planning on using del or ins (because we don’t use strike anymore, do we? :D), then you’ll need to redefine it in your CSS .

352 posts
  • Author had a File in an Envato Bundle
  • Author had a Free File of the Month
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 50 and 99 users
  • Sold between 10 000 and 50 000 dollars
+1 more
danharper says

Most of the time, I’ll use a simple:


* {
  margin: 0;
  padding: 0;
}

Other times, I’ll use the Reset & Font CSS files included in 960gs since they work good.

2317 posts
  • Repeatedly Helped protect Envato Marketplaces against copyright violations
  • Author had a Free File of the Month
  • Bought between 10 and 49 items
  • Europe
  • Exclusive Author
  • Has been a member for 5-6 years
  • Referred between 100 and 199 users
+1 more
CreativeMilk says

I use

/* reset */ html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote, pre, form, fieldset, table, th, td { margin: 0; padding: 0; }

153 posts
  • Bought between 1 and 9 items
  • Europe
  • Exclusive Author
  • Has been a member for 4-5 years
AphroditeDesign says
I use /* reset / *html, body, div, h1, h2, h3, h4, h5, h6, ul, ol, dl, li, dt, dd, p, blockquote, pre, form, fieldset, table, th, td { margin: 0; padding: 0; }

Why html and body are here? Isnt html enough? I mean body is inside html so what we have to change here? I know a bit stupid question but…

951 posts
  • Beta Tester
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Netherlands
  • Referred between 1 and 9 users
  • Sold between 1 000 and 5 000 dollars
Daan says

I sometimes use eric’s, but yes, he goes too far. I think a more simpler solution will suffise too (that’s why I often use my own, which looks an awful lot like TwinCircuits’

2529 posts
  • Attended a Community Meetup
  • Author had a Free File of the Month
  • Blog Editor
  • Bought between 50 and 99 items
  • Contributed a Tutorial to a Tuts+ Site
  • Envato Staff
  • Exclusive Author
+8 more
JeffreyWay Moderator says

Eric would tell you himself – don’t blindly adopt his reset. Instead, modify it according to your needs.

burningstonecold
burningstonecold Recent Posts
Threads Started
143 posts
  • Australia
  • Bought between 10 and 49 items
  • Exclusive Author
  • Has been a member for 5-6 years
  • Sold between 1 and 100 dollars
  • Won a Competition
burningstonecold says

I’ve developed my own ‘mashup’ css framework in which i can plug in different sections to expand where neccessary.

It includes things such as layouts, colours, a reset, etc.

It’s fairly lightweight, and combines 960.gs, Blueprint, Erics reset, etc.

It’s always fun, and good to create your own – as you learn from it, and also you can use it in your projects too.

153 posts
  • Bought between 1 and 9 items
  • Europe
  • Exclusive Author
  • Has been a member for 4-5 years
AphroditeDesign says

Thanks guys.

by
by
by
by
by
by