css 对齐方式 分类


分类
cursor 规定当指向某元素之上时显示的指针类型
dispaly 设置是否及如何显示元素
visibility 设置元素是否可见或不可见
position 把元素放置到一个静态的相对的绝对的固定的位置

<p>cursor</p>

<ul>

<li>helllo</li>
<li>helllo</li>
<li>helllo</li>


</ul>

 

.p1{
line-height: normal;
max-width: 100px;
}
.p2{
line-height: 20%;
max-width:: 100px;
}
.p3{
line-height: 200%;
/* 最大值宽度*/
max-width: 100px;
}
p{

/* 设置鼠标指针样式*/
cursor: auto;


}

li{
/* display: inline;*/
visibility: hidden;
}

posted @ 2015-05-13 14:39  谢小锋  阅读(375)  评论(0)    收藏  举报