min-width不起作用但是min-height可以,谁能帮忙解答下
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.<html>
<head>
<style type="text/css">
*{margin: 0; padding: 0; font-size: 12px;}
body{width: 1000px; height: 600px; border: 1px red solid;}
div{border: 4px rgb(201, 198, 233) solid; background: rgb(153, 153, 154);}
div.d1{position: relative; min-width: 20%; min-height: 10%;}
</style>
</head>
<body>
<div class="d1">
</div>
</body>
</html>