这是网页100%大小的时候, 显示正常
这首页面缩小到90%的时候:
请问这是什么原理呢
页面代码如下:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document</title>
<style>
*{margin: 0;
padding: 0;}
body{
margin: 100px;
}
.wrap{
overflow: hidden;
/*width: 303px;*/
width: 302px;
}
.h40{
height: 40px;
}
.left{
float: left;
/*width: 100px;*/
width: 99px;
border:1px solid #ddd;
border-right: 0;
background-color: #f0f0f0;
}
.right{
float: left;
width: 200px;
background-color: #f5f5f5;
border: 1px solid #f44;
}
</style>
</head>
<body>
<div class="wrap">
<div class="h40 left"></div>
<div class="h40 right"></div>
</div>
</body>
</html>
https://bbs.pku.edu.cn/v2/mob...
http://stackoverflow.com/ques...