XHTML語言默認(rèn)的CSS樣式
互聯(lián)網(wǎng) 發(fā)布時間:2008-10-17 18:55:43 作者:佚名
我要評論

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}
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:.67em0}
h2 { font-size:1.5em;margin:.75em0}
h3 { font-size:1.17em;margin:.83em0}
h4,p,
blockquote,ul,
fieldset,form,
ol,dl,dir,
menu { margin:1.12em0}
h5 { font-size:.83em;margin:1.5em0}
h6 { font-size:.75em;margin:1.67em0}
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:1pxinset}
ol,ul,dir,
menu,dd { margin-left:40px}
ol { list-style-type:decimal}
ol ul,ulol,
ul ul,olol {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:thindottedinvert}
/* Beginbidirectionalitysettings(donotchange)*/
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}
相關(guān)文章
- 這篇文章主要介紹了HTML外部樣式表如何引入CSS樣式,文中通過示例代碼介紹的非常詳細(xì),對大家的學(xué)習(xí)或者工作具有一定的參考學(xué)習(xí)價值,需要的朋友們下面隨著小編來一起學(xué)習(xí)2020-12-10
HTML基礎(chǔ)知識——css樣式表,樣式屬性,格式與布局詳解
下面小編就為大家?guī)硪黄狧TML基礎(chǔ)知識——css樣式表,樣式屬性,格式與布局詳解。小編覺得挺不錯的,現(xiàn)在就分享給大家,也給大家做個參考。一起跟隨小編過來看看吧2016-07-11- 下面小編就為大家?guī)硪黄狧TML基礎(chǔ)必看——全面了解css樣式表。小編覺得挺不錯的,現(xiàn)在就分享給大家,也給大家做個參考。一起跟隨小編過來看看吧2016-07-11
- 下面小編就為大家?guī)硪黄狧TML (css樣式規(guī)范)必看篇。小編覺得挺不錯的,現(xiàn)在就分享給大家,也給大家做個參考。一起跟隨小編過來看看吧2016-06-27
- 這篇文章主要介紹了html動態(tài)加載css樣式和js腳本示例,需要的朋友可以參考下2014-04-16
- 在布局過程中為了某些需求,將html標(biāo)簽在瀏覽器居中顯示是很常見的做法,下面有個不錯的示例,大家可以參考下2014-04-15
- 在html中可以輕松實現(xiàn)背景色漸變的下面是一個通過CSS實現(xiàn)的示例,大家若感興趣,可以參考下2014-03-24
html 隱藏div HTML里隱藏表格TABLE或者DIV內(nèi)容的css樣式
突然想起幾年前用過的一個隱藏樣式代碼,有些時候用它非常方便,比如想讓某塊表格TABLE或者DIV里的內(nèi)容完全看不到,那就加上他,嘿嘿,就隱身了,需要的朋友可以了解下2012-12-21- CSS 樣式既可以作為單獨的文件(.css類型的文件)引入到 HTML 文檔中,本文主要介紹了HTML嵌入CSS樣式的四種實現(xiàn)方法,具有一定的參考價值,感興趣的可以了解一下2023-11-03