CSS浏览器重置代码
Chris Poteet’s CSS浏览器重置代🎣码【mǎ】
这个代码能够【mǎ néng gòu】有效地帮助大家解决【jiā jiě jué】🖊跨浏览【kuà liú lǎn】📪器问题📓。虽然不支持IE6,但是对【dàn shì duì】于这种【yú zhè zhǒng】美国占🦁有率低【yǒu lǜ dī】于1%的浏览🚯器,大家大可以放弃🕚。
- /*
- Reset Default Browser Styles
- - Place first in the listing of external style sheets for cascading.
- - Be sure to explicitly set margin/padding styles.
- - Styles are not reset that have to do with display (block, inline) are not reset.
- By: Chris Poteet & various influences
- */
- *
- vertical-align
- body
- padding
- h1, h2, h3, h4, h5, h6, p, pre, blockquote, form, ul, ol, dl
- margin
- li, dd, blockquote
- margin-left
- dt
- font-weight
- table
- border-collapse
关键词:CSS,浏览器【liú lǎn qì】🏄
阅读本文后您有什么感想? 已有 人给出评价!
- 1
- 1
- 1
- 1
- 1
- 1