Quote from: jesster444 at Mar 29, 2007, 09:53 PMIt wasn’t resetting everything to 0, because some stuff you want to have some values for. It was basically how he started every stylesheet of his.
This is a hint that we are talking about the same thing a single declaration which makes sures to get rid of inherited margins and paddings, which most of us put right at the top of our CSS...
Quote from: Whitefen at Mar 29, 2007, 10:16 PM Pretty sure this is what your looking for. http://developer.yahoo.com/yui/reset/
Which brings us back to the basics I first offered,
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {
margin:0;
padding:0;
}
is basically the same as
* {padding: 0;
margin: 0;
}
or it should * being the universal selector...
The rest is very handy too but not always needed...