首页 | 编程语言 | 网站建设 | 游戏天堂 | 冲浪宝典 | 网络安全 | 操作系统 | 软件时空 | 硬件指南 | 病毒相关 | IT 认证
软讯网络 > 网站建设 > PHP > HTML元素的默认CSS设置介绍
【标  题】:HTML元素的默认CSS设置介绍
【关键字】:HTML,CSS
【来  源】:http://blog.csdn.net/l0979365428/archive/2006/12/07/1434206.aspx

HTML元素的默认CSS设置介绍

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 }
}
  

http://www.chinaddv.com/WebPageTech/CSS/2006/08-24/11563919226968.html

PHP的bbs实现之四--创建调查:【上一篇】
又是一个相同的ToDoList:【下一篇】
【相关文章】
  • 去除所有js,html,css代码
  • 发布 sqEditor HTML 编辑器 v1.0 By shawl.qiu(兼容 IE, Opera, Firefox)
  • 如何将django的文档转成html
  • XHTML1.0学习总结
  • 收藏: 几个不太常用但很有用的HTML Tag
  • innerHTML、outerHTML、innerText、outerText的区别
  • JS中的innerHTML的一个小问题
  • DICK原创:Rendering an IHTMLElement to a Image File Using GDI+
  • 在Asp.Net 2.0中使用Css Tab Design样式美化菜单
  • windowsvista首页的一个css瑕疵
  • 【随机文章】
  • Windows服务编写原理及探讨(4)
  • 注册表开始菜单修改项
  • WPF 关于C#代码实现ControlTemplate
  • 浅谈PB中动态DataWindow的技术应用
  • 通过制作一个简单的时钟学习WPF中DispatcherTimer的使用
  • 如何在不支持上传文件的论坛上传文件
  • 在 IBM Rational TestManager 中執行 Mercury QuickTest
  • oracle里的常用命令(一):日志管理
  • 教你完全卸载智能ABC输入法
  • 3D游戏从入门到精通-22
  • 【相关评论】
    没有相关评论
    【发表评论】
    姓名:
    邮件:
    随机码*
    评论*
          
    |  首 页  |  版权声明  |  联系我们   |  网站地图  |
    CopyRight © 2004-2007 软讯网络 All Rigths Reserved.