CSS学习备忘

CSS样式控制行间距,用line-height
测试一下:
<div style="line-height:6px">
111<br>
222<br>
333<br>
444<br>
</div>
<div style="line-height:26px">
111<br>
222<br>
333<br>
444<br>
</div>
<div style="line-height:46px">
111<br>
222<br>
333<br>
444<br>
</div>

2.有用的样式:style="overflow:auto;"

3.textarea属性设置详解

4.css问题filter: alpha(opacity=100,finishopacity=0,style=2)

alpha是来设置透明度的,它的基本属性是filter:alpha(opacity,finishopacity,
style,startX,startY,finishX,finishY).
opacity代表透明度数,选值0-100,0是完全透明,100是不透明.
finishopacity用来设置结束时的透明度,以达到渐变效果.取值范围也是0-100.style指渐变类型,0是无变化,1是线行渐变,2是放射渐变,3是X型渐变.

 5.easyui-treegrid的树不展开样式:

$(".treegrid-tr-tree .datagrid-row .datagrid-cell .tree-hit").removeClass("tree-collapsed").removeClass("tree-expanded").addClass("tree-indent");  
            
$(".tree-hit.tree-indent").css({opacity:0,cursor:"default"});

 

posted @ 2014-08-07 17:23  行者无疆Duffy  阅读(136)  评论(0编辑  收藏  举报