首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 网站开发 > CSS >

1.惯用的CSS属性

2012-10-25 
1.常用的CSS属性边距(边框与其它标签的边框之间的距离):margin: 0 间距(边框与其内部了标签之间的距离):p

1.常用的CSS属性


    边距(边框与其它标签的边框之间的距离):margin: 0; 间距(边框与其内部了标签之间的距离):padding: 0;宽度:width: 760px;高度:height: 50px;文本装饰(超链接的样式):text-decoration: none; 标签内的文本对齐方式:text-align:right;行高:line-height: 18px;边框:border: 1px solid #efefef;显示:(none时则隐藏)display:block;?颜色:color:red链接:? a:link {color:black;}链接(已访问):? a:visited {color:white;}链接(指向):? a:hover {color:red;} 链接(鼠标按下):? a:active {color:yellow;}变灰:filter:alpha(opacity=60); /* IE */
    ??? opacity: 0.6; /* 支持CSS3的浏览器(FF 1.5也支持)*/

list-style:disc inside url("../images/index_localKnwlLst_icon.gif")

热点排行