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

Popular posts from this blog

list macos calm editors formula editors

how i practical urls indicate .aspx pages asp.net deployed an iis? (preferably but iis)

jaxb - xjc - reworking generated typesafe enum category members