I've been adding this to the top of my style sheets: 
html, body, div, h1, h2, h3, h4, ul, li, dl, dt, dd, ol, form {margin: 0;
padding: 0;}

I like to reset the major elements and then set new margins and paddings on
the specific elements when needed.  This also gets rid of the repetitive
margin:0; padding:0; declarations.

This is not unique to me. Others have done more extensive reset commands.

Ted


-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
On Behalf Of Rimantas Liubertas
Sent: Tuesday, July 05, 2005 2:49 AM
To: [email protected]
Subject: Re: [WSG] Complete CSS reset

On 7/5/05, Kenny Graham <[EMAIL PROTECTED]> wrote:
<...>
>I'm going to be teaching some web
> developers CSS soon and would like to teach it from a "complete
> seperation of structure from presentation" standpoint which is hard to
> do when headings are still big, blockquotes are still indented, etc.
<...>

I'd say you are pushing a bit too far, it is not bad to have an idea how
will page look like using only browser default stylesheet, and it does not
make learning separation from presentation any more difficult.

But if you still wish to do so here you may find some info:
http://www.meyerweb.com/eric/thoughts/2004/09/15/emreallyem-undoing-htmlcss/

Regards,
Rimantas
-- 
http://rimantas.com/
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************
******************************************************
The discussion list for  http://webstandardsgroup.org/

 See http://webstandardsgroup.org/mail/guidelines.cfm
 for some hints on posting to the list & getting help
******************************************************

Reply via email to