<!DOCTYPE?html>
<html>
<head>
<title>fillet</title>
<style?type="text/css">
*{
margin:?0;
padding:?0;
}
.box{
width:100px?;
background:?url(fillet_bottom.png)?no-repeat?left?bottom;
}
.box?h2{
background:?url(fillet_top.png)?no-repeat?left?top;
}
</style>
</head>
<body>
<div?class="box">
<h2>HeadlineHeadline</h2>
<p>ContentContentContent</p>
</div>
</body>
</html>如下圖所示想不通。。。
為什么h標(biāo)題和p段落內(nèi)容超過(guò)div框的寬度沒(méi)有換行?
garnett555
2016-06-15 11:50:48