diff --git a/typo.css b/typo.css index 7a5b8ad..0c99ef6 100644 --- a/typo.css +++ b/typo.css @@ -17,11 +17,18 @@ html.borderbox *, html.borderbox *:before, html.borderbox *:after { } /* 内外边距通常让各个浏览器样式的表现位置不同 */ -body, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, menu, nav, section { +body, dl, dd, /* dt, 默认没边距 */ +ul, ol, /*li, 默认没边距 */ +h1, h2, h3, h4, h5, h6, pre, /* code, 默认没边距 */ +form, fieldset, legend, input, textarea, optgroup, +p, blockquote, figure, hr, menu, dir, +thead, tbody, tfoot, th, td /* th, td 默认 padding:1px */ +{ margin: 0; padding: 0; } + /* 重设 HTML5 标签, IE 需要在 js 中 createElement(TAG) */ article, aside, details, figcaption, figure, footer, header, menu, nav, section { display: block;