Expanding on Tantek's earlier developments,

http://tantek.com/log/2004/09.html#d06t2354

our esteemed list mom writes about this here:

http://www.meyerweb.com/eric/thoughts/2004/09/15/emreallyem-undoing- 
htmlcss/

What follows is Tantek's undohtml.css along with a few of my own  
additions:

/* undohtml.css */
/* (CC) 2004 Tantek Celik. Some Rights Reserved.             */
/* http://creativecommons.org/licenses/by/2.0                   */
/* This style sheet is licensed under a Creative Commons License. */

/* Purpose: undo some of the default styling of common (X)HTML  
browsers */


/* link underlines tend to make hypertext less readable,
    because underlines obscure the shapes of the lower halves of  
words */

:link,:visited {
        text-decoration : none;
}

/* no list-markers by default, since lists are used more often for  
semantics */

ul,ol {
        list-style : none;
}

/* avoid browser default inconsistent heading font-sizes */
/* and pre/code too */

h1,h2,h3,h4,h5,h6,pre,code {
        font-size : 1em;
}

/* remove the inconsistent (among browsers) default ul,ol padding or  
margin  */
/* the default spacing on headings does not match nor align with
     normal interline spacing at all, so let's get rid of it. */
/* zero out the spacing around pre, form, body, html, p, blockquote  
as well */
/* form elements are oddly inconsistent, and not quite CSS  
emulatable. */
/*  nonetheless strip their margin and padding as well */

ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,body,html,p,blockquote,fieldset,inpu 
t {
        margin : 0; padding : 0;
}

/* whoever thought blue linked image borders were a good idea? */

a img,:link img,:visited img {
        border : none;
}

/* de-italicize address */

address {
        font-style : normal;
}

/* more varnish stripping as necessary... */

:link,:visited {
        text-decoration : none;
}

ol,ul {
        list-style : none;
}

code,h1,h2,h3,h4,h5,h6,pre {
        font-size : 1em;
}

blockquote,body,fieldset,form,h1,h2,h3,h4,h5,h6,html,input,li,pre,ol,p,u 
l  {
        margin : 0;
        padding : 0;
}

a img,:link img,:visited img {
        border : none;
}





______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7b2 testing hub -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to