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 hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?