/ Published in: CSS
This is what I commonly use for my base CSS file.
Expand |
Embed | Plain Text
/*------------------------------------------------------------------ Name Of CSS File Last Updated: Date Here 0. CSS RESETS 1. STYLING 2. HEADER 2.1. Top Menu Text 3. CONTENT AND BODY 3.1 Put Sub Category Here 4. FOOTER 4.1 Put Sub Category Here 5. MISC -------------------------------------------------------------------*/ /* 0. CSS RESETS --------------------------------------------------------------------- */ body, address, blockquote, dl, ol, ul, li, form, fieldset, h1, h2, h3, h4, h5, h6, p, pre, object, embed { margin:0; padding:0; } fieldset, table { border:none; } table { border-collapse:collapse; border-spacing:0; overflow:hidden; word-wrap:break-word; /* will not validate IE only */ } caption, th, td { text-align: left; } html { font-size:100.01%; height: 101%; /* forces scroll on short length pages */ } body { height:100%; font:62.5%/1.3 Arial,Tahoma,Geneva,Helvetica,sans-serif; background:#FFF; } address, h1, h2, h3, h4, h5, h6, li, p, pre {padding: .3em 10px .8em;} .float_right { float:right; } .clear_left { clear:left; } .clear_both { clear:both; }
You need to login to post a comment.
