We would like to know how to test Inline Resizing.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
body {<!--from w w w .j a va2 s .co m-->
overflow: hidden;
padding: 1em;
}
div {
float: left;
height: 1in;
margin: .5em;
text-align: center;
line-height: 1in;
white-space: nowrap;
box-shadow: 0 0 .5em gray;
}
#print {
width: 2in;
background-color: black;
color: white;
}
#fit {
min-width: 3in;
background-color: gold;
}
#wrap {
width: 100%;
min-width: 3in;
max-width: 5in;
background-color: orange;
}
</style>
</head>
<body>
<div id="print">Printable</div>
<div id="fit">Looks good on same line</div>
<div id="wrap">Looks good on new line</div>
</body>
</html>
The code above is rendered as follows: