共 7 篇文章 |
|
去掉a标签点击时的虚线边框css里面写:a:focus{outline: none;-moz-outline-style: none; }兼容IE:<a href="#" hidefocus="true">超链接</a> 阅1786 转6 评0 公众公开 12-04-15 12:36 |
阅986 转6 评0 公众公开 12-04-15 12:25 |
9、div层居中于浏览器 div{position:absolute;top:50%; left:50%; margin:-100px 0 0 -100px;width:200px; height:200px; border:1px solid red;} 10、处理文字经常用的: 文字自动换行:word-wrap:break-word; 文字强制同一行:white-space: nowrap; 超出行用“…” text-overflow: ellipsis; 超... 阅42 转0 评0 公众公开 12-03-18 23:10 |
阅421 转1 评0 公众公开 12-03-09 00:48 |