Following my code:
<div style="min-width: 150px; max-width: 200px; margin: 0 auto; border: 1px solid black;">test</div>
The 150px enough to contain all the text, instead the div takes the maximum size, in this case 200px. How to solve without float?