===CSS=======================
.xxx_01 h1{}
.xxx_01 div{}
.xxx_01 img{}
.xxx_01 span{}
.xxx_01 p{}
.xxx_01 h1{}
.xxx_01 li{}
.xxx_01 li:hover{} 鼠标经过li
.xxx_01 a:hover{}鼠标经过超链接
.xxx_01 em{}a强调文本
.xxx_01 {clear:both;}清除两侧浮动
div{ white-space:nowrap; 强制不换行 text-overflow:ellipsis;超出部分显示省略号 }
border-collapse: collapse; 相邻的边框线条合并
div{ cursor:pointer;} 鼠标变小手
h1 {letter-spacing: 0.1em}字间距 字符
h4 {letter-spacing: 5px}字间距 像素
div{border:1px solid #000;border-top:0} 除上边框,其他都一样
div{display:Inline;}在一排显示。li列表默认。
div{display:list-item;}将块对象指定为列表项目。
div{display:inline-block; }背景可以与文字同宽
{ background-image: url(bg_03.gif); background-repeat: repeat-x} 背景图水平(横向)平铺
{ background-image: url(bg_03.gif); background-repeat: repeat-y} 背景图垂直(纵向)平铺
{background-image: url('bg_03.gif');background-repeat: no-repeat} 背景图不平铺
{background-image: url('bg_03.gif');background-repeat: no-repeat;background-ttachment:fixed;background-position: 10% 100%; }背景图按百分比定位
{background-image: url('bg_03.gif');background-repeat: no-repeat;background-attachment:fixed;
background-position: 50px 100px;}背景图定位 按像素
{background-image:url(bg_02.gif);background-repeat:no-repeat;background-attachment:fixed}背景图固定