摘要:
1. div{ width:200px; height: 200px; background:green; position: absolute; left:50%; top:50%; margin-left:-100px; margin-top:-100px; } 2.兼容性:,IE7及之前版本不 阅读全文
摘要:
<style> .div1{ width: 400px; height: 500px; overflow: scroll; } .div1 img{ width: 100%; /* height: 100px;*/ } /*只显示纵向height:1px,只显示横向width:1px*/ .div2 阅读全文
摘要:
1.前端写的时候li里面有空格 2.后端套标签的时候li里有空格 阅读全文
摘要:
white-space: nowrap; overflow: hidden; text-overflow: ellipsis; 阅读全文