你们看,我打中文,超过块的宽度,自动换行,打英文,超过块宽度,直接穿过边界继续向前,什么原因?
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>relative样式</title>
<style type="text/css">
#div2{
width:200px;
height:200px;
border:2px dotted green;
display:inline-block;
position:relative;
left:0px;
top:0px;
}
#div1{
width:200px;
height:200px;
border:2px red solid;
position:relative;
left:0px;
top:0px;
display:inline-block;
}
</style>
</head>
<body>
<div id="div1">方法大叔大叔的萨达撒飒飒大师大师的的</div>
<div id="div2">啊啊啊撒拉速度来看了撒倒萨打算的撒的</div>
<div id="div2">DFSFSFSDFDSFSDFSDGSDGSDGSDGSDGSGSDGSDGSDGSDGDS</div>
</body>
</html>