XHTML语言默认的CSS样式

互联网   发布时间: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}
(福利推荐:【腾讯云】服务器最新限时优惠活动,云服务器1核2G仅99元/年、2核4G仅768元/3年,立即抢购>>>:9i0i.cn/qcloud

(福利推荐:你还在原价购买阿里云服务器?现在阿里云0.8折限时抢购活动来啦!4核8G企业云服务器仅2998元/3年,立即抢购>>>:9i0i.cn/aliyun


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}

相关文章

  • HTML外部样式表如何引入CSS样式

    这篇文章主要介绍了HTML外部样式表如何引入CSS样式,文中通过示例代码介绍的非常详细,对大家的学习或者工作具有一定的参考学习价值,需要的朋友们下面随着小编来一起学习
    2020-12-10
  • HTML基础知识——css样式表,样式属性,格式与布局详解

    下面小编就为大家带来一篇HTML基础知识——css样式表,样式属性,格式与布局详解。小编觉得挺不错的,现在就分享给大家,也给大家做个参考。一起跟随小编过来看看吧
    2016-07-11
  • HTML基础必看——全面了解css样式表

    下面小编就为大家带来一篇HTML基础必看——全面了解css样式表。小编觉得挺不错的,现在就分享给大家,也给大家做个参考。一起跟随小编过来看看吧
    2016-07-11
  • HTML (css样式规范)必看篇

    下面小编就为大家带来一篇HTML (css样式规范)必看篇。小编觉得挺不错的,现在就分享给大家,也给大家做个参考。一起跟随小编过来看看吧
    2016-06-27
  • html动态加载css样式和js脚本示例

    这篇文章主要介绍了html动态加载css样式和js脚本示例,需要的朋友可以参考下
    2014-04-16
  • 将html标签在浏览器居中显示的css样式

    在布局过程中为了某些需求,将html标签在浏览器居中显示是很常见的做法,下面有个不错的示例,大家可以参考下
    2014-04-15
  • 通过CSS样式实现的html背景色渐变效果

    在html中可以轻松实现背景色渐变的下面是一个通过CSS实现的示例,大家若感兴趣,可以参考下
    2014-03-24
  • html 隐藏div HTML里隐藏表格TABLE或者DIV内容的css样式

    突然想起几年前用过的一个隐藏样式代码,有些时候用它非常方便,比如想让某块表格TABLE或者DIV里的内容完全看不到,那就加上他,嘿嘿,就隐身了,需要的朋友可以了解下
    2012-12-21
  • HTML嵌入CSS样式的四种实现方法

    CSS 样式既可以作为单独的文件(.css类型的文件)引入到 HTML 文档中,本文主要介绍了HTML嵌入CSS样式的四种实现方法,具有一定的参考价值,感兴趣的可以了解一下
    2023-11-03

最新评论

?


http://www.vxiaotou.com