why does css min-width charge force div have specified smallest width?
<html>
<head>
<style type="text/css">
div {
border:1px plain #000;
min-width: 50%;
}
</style>
</head>
<body>
<div>this text. </div>
</body>
</html>
i trust div should 50 percent page, unless, reason, calm inside div creates larger. however, border around div stretches opposing whole page width. occurs both ie firefox.
suggestions?
Comments
Post a Comment