<!–DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”&gt;
xmlns=”http://www.w3.org/1999/xhtml”&gt;
<head>
<meta http-equiv=”Content-Type” content=”text/html; charset=UTF-8″ />
<title>BG Sizing</title>
<style type=”text/css”>
body {
margin: 0;
padding:0;
font: 100% Georgia, “Times New Roman”, Times, serif;
background: #3c6b92;
}
#wrapper {
margin: 0 auto;
width: 760px;
height: 400px;
background: #fff;
padding: 50px 0 0 200px;
}
#wrapper div {
float: left;
margin-right: 50px;
background: #e1d8b9;
}
#wrapper #one {
width: 150px;
height: 150px;
background: #e1d8b9 url(star.png) no-repeat;
}
#wrapper #two {
width: 50px;
height: 50px;
background: #e1d8b9 url(star.png) no-repeat;
background-size: 50px 50px;
}
#wrapper #three {
width: 50px;
height: 300px;
background: #e1d8b9 url(star.png) repeat-y;
background-size: 10px 10px;
}
</style>
</head>
<body>
<div id=”wrapper”>
<div id=”one”>
</div>
<div id=”two”>
</div>
<div id=”three”>
</div>
</div>
</body>
</html>