标签: CSS

17 篇文章

40个WEB2.0 + CSS 网页模板
40个XHTML+CSS模板~符合Web2.0标准,供各位学习参考使用~ 下载地址:http://downcnidczh.zcool.com.cn/code/new_code/012/40_Web_20_templates_zcool.com.cn.rar
工作中常用的高效的CSS代码
最常用的有四种选择方法: Id规则选取,比如 CSS代码 button#button{} #urlBar[type=」text」]{} div>p>span#demo{} class规则选取,比如 CSS代码 button.toolbarButton{} .fancyText{} menuitem>.menu-left[checked=」true」…
CSS属性!全解析
「类型」属性共有九项: 「字体」(font-family),设定时,需考虑浏览器中有无该字体。 「大小」(font-size),注意度量单位。 「粗细」(font-weight),除了normal(正常)、bold(粗体)、bolder(特粗)、lighter(细体)外,还有9种以像素为度量为单位的设置方式。 「样式」(font-style),也就…
纯CSS简洁TAB
<title>简洁Tab</title> <style type="text/css"> <!-- body,div,ul,li{ margin:0 auto; padding:0; } body{ font:12px "宋体"; text-align:center; } a:link{ color:#00…
橫排列表(li)的左右对齐
之前解決的一個小問題,讓橫排的列表可以左右對齊。相關代碼如下: ==================HTML========================== <div class="overdiv"> <ul> <li>1</li> <li>2</li> <li>…
完美的水平垂直居中
兼容ie6,ie7,ff,opera,safari的水平垂直居中! <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "<a href="http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd" targe…
CSS实现图片倒影
IE特有滤镜:<div style=" width: 154px; height: 202px; " id="layer1"> <img src="<a href="http://gdsgj.edu.topzj.com/data/edu/26/59/01/customavatars/11/89/11894.png" targ…