日本搞逼视频_黄色一级片免费在线观看_色99久久_性明星video另类hd_欧美77_综合在线视频

國(guó)內(nèi)最全I(xiàn)T社區(qū)平臺(tái) 聯(lián)系我們 | 收藏本站
阿里云優(yōu)惠2
您當(dāng)前位置:首頁 > web前端 > htmlcss > 參考文檔:瀏覽器默認(rèn)HTML的CSS樣式屬性

參考文檔:瀏覽器默認(rèn)HTML的CSS樣式屬性

來源:程序員人生   發(fā)布時(shí)間:2013-11-13 16:54:18 閱讀次數(shù):2754次
這個(gè)“瀏覽器默認(rèn)HTML的CSS樣式屬性”,在你需要還原默認(rèn)值的時(shí)候,比較有用。開始的時(shí)候應(yīng)用通配選擇器 *{margin:0;padding:0;},當(dāng)需要使用邊距的時(shí)候,就需要還原HTML默認(rèn)CSS值了。

以前一直在找這份文檔,今天偶然在w3上看到了。除了inline和block的定義,主要是要注意body|h1~h6|blockquote|menu|ul|ol|dd等標(biāo)簽的默認(rèn)樣式(margin和font-size)。

代碼
html, address, 
blockquote,
body, dd, div,
dl, dt, fieldset, form,
frame, frameset,
h1, h2, h3, h4,
h5, h6, noframes,
ol, p, ul, center,
dir, hr, menu, pre { display: block }
li { display: list-item }
head { display: none }
table { display: table }
tr { display: table-row }
thead { display: table-header-group }
tbody { display: table-row-group }
tfoot { display: table-footer-group }
col { display: table-column }
colgroup { display: table-column-group }
td, th { display: table-cell; }
caption { display: table-caption }
th { font-weight: bolder; text-align: center }
caption { text-align: center }
body { margin: 8px; line-height: 1.12 }
h1 { font-size: 2em; margin: .67em 0 }
h2 { font-size: 1.5em; margin: .75em 0 }
h3 { font-size: 1.17em; margin: .83em 0 }
h4, p,
blockquote, ul,
fieldset, form,
ol, dl, dir,
menu { margin: 1.12em 0 }

h5 { font-size: .83em; margin: 1.5em 0 }
h6 { font-size: .75em; margin: 1.67em 0 }
h1, h2, h3, h4,
h5, h6, b,
strong { font-weight: bolder }
blockquote { margin-left: 40px; margin-right: 40px }
i, cite, em,
var, address { font-style: italic }
pre, tt, code,
kbd, samp { font-family: monospace }
pre { white-space: pre }
button, textarea,
input, object,
select { display:inline-block; }
big { font-size: 1.17em }
small, sub, sup { font-size: .83em }
sub { vertical-align: sub }
sup { vertical-align: super }
table { border-spacing: 2px; }
thead, tbody,
tfoot { vertical-align: middle }
td, th { vertical-align: inherit }
s, strike, del { text-decoration: line-through }
hr { border: 1px inset }
ol, ul, dir,
menu, dd { margin-left: 40px }
ol { list-style-type: decimal }
ol ul, ul ol,
ul ul, ol ol { margin-top: 0; margin-bottom: 0 }
u, ins { text-decoration: underline }
br:before { content: "A" }
:before, :after { white-space: pre-line }

center { text-align: center }
abbr, acronym { font-variant: small-caps; letter-spacing: 0.1em }
:link, :visited { text-decoration: underline }
:focus { outline: thin dotted invert }

/* Begin bidirectionality settings (do not change) */
BDO[DIR="ltr"] { direction: ltr; unicode-bidi: bidi-override }
BDO[DIR="rtl"] { direction: rtl; unicode-bidi: bidi-override }

*[DIR="ltr"] { direction: ltr; unicode-bidi: embed }
*[DIR="rtl"] { direction: rtl; unicode-bidi: embed }

@media print {
h1 { page-break-before: always }
h1, h2, h3,
h4, h5, h6 { page-break-after: avoid }
ul, ol, dl { page-break-before: avoid }
生活不易,碼農(nóng)辛苦
如果您覺得本網(wǎng)站對(duì)您的學(xué)習(xí)有所幫助,可以手機(jī)掃描二維碼進(jìn)行捐贈(zèng)
程序員人生
------分隔線----------------------------
分享到:
------分隔線----------------------------
關(guān)閉
程序員人生
主站蜘蛛池模板: 在线观看高清av | 成人午夜小视频 | 黄色高清视频 | 中文字幕国产日韩 | 另类免费视频 | 天堂网亚洲 | 中文字幕在线一区 | 免费的黄色 | 在线观看www | 韩日精品一区二区 | 日本福利在线观看 | 久久久久一区二区三区 | 毛片黄片| 久久久综合色 | 666av视频在线观看 | 中文字幕在线免费看 | 91麻豆产精品久久久久久 | 成人久久 | 中文字幕免费 | 国产精品第100页 | 五月婷婷综合网 | 国产欧美一区二区 | 国产午夜精品久久久久久免费视 | 成人免费高清 | 久精品视频 | 日本欧美视频 | 国产不卡av在线 | 日韩精品高清一区二区三区 | 九九资源站 | 美女国内精品自产拍在线播放 | 爱爱小视频网站 | av大片在线观看 | 欧美综合久久久 | 精品国产青草久久久久福利 | 亚洲福利视频一区二区 | а_天堂中文最新版地址 | 国产成人精品一区二区 | 国产精品日韩一区二区三区 | 一区二区三区中文 | 午夜成人在线视频 | 九九国产 |