站内搜索:
首页 >> 前端 >> 内容
CSS常用代码

时间:2014/3/3 15:27:37

// 按字符换行

style="word-break: break-all;"

// 按词组换行

style="word-wrap: break-word;"

==========================================================================

==========================================================================
font-family:Arial, Helvetica, sans-serif;
font-size:12px;
text-align:center;
color: #666;
height:100%;

background: url(../images/login/l3.jpg) no-repeat;
vertical-align:middle

display:inline;

zoom:0.75;

filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(enabled=true, sizingMethod=scale, src="images/CitationMap /xyzsd_bg.png")

overflow: hidden;

float: left;

white-space: nowrap;

z-index:100;

cursor: pointer;

clear:both;

list-style: none;

background-color: #FFFFFF;

background-image:url(../images/login/l3.jpg);

border-collapse: collapse;

visibility:hidden;

overflow-x: hidden;

==========================================================================

==========================================================================

  • 上一篇:html元素双击事件触发机制猜想及疑惑
  • 下一篇:深入CSS属性(六):margin
  • 返回顶部