你的位置:首页 > 软件开发 > 网页设计 > chrome中不可见字符引发的float问题

chrome中不可见字符引发的float问题

发布时间:2016-03-16 12:00:08
起因是刷知乎时碰到这么个问题:https://www.zhihu.com/question/41400503  问题代码如下:<!DOCTYPE html><html lang="zh-CN"><head><meta ...

chrome中不可见字符引发的float问题

  起因是刷知乎时碰到这么个问题:https://www.zhihu.com/question/41400503

  问题代码如下:

<!DOCTYPE html><html lang="zh-CN"><head><meta charset="utf-8"><style>  .cf {    zoom: 1;  }  .cf:after {    clear: both;    content: "";    display: block;  }	.cf:before {	  content: "";	  display: block;	}  .out {    width: 730px;    border: 1px solid #ccc;  }  .left {    float: left;    width: 90px;    height: 20px;    margin: 3px 5px;    background: #D7E9F7;  }  .other {    width: 10px;    background: red;  }</style></head><body>  <div >    <div ></div>    <div ></div>    <div ></div>    <div ></div>    <div ></div>    <div ></div>    <div ></div>    <div ></div>    <div ></div>    <div ></div>    <div ></div>    <div ></div>    <div ></div>    <div ></div>  </div></body></html> 

原标题:chrome中不可见字符引发的float问题

关键词:chrome

*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。

可能感兴趣文章

我的浏览记录