$(function () {
for (i = 0; i < 10; i++) {
(function (i) {
$("#body").append($("#tmp"));
})(i);
}
});
<html>
<body>
<div id="tmp" class="icolor">c</div>
<div id="body"></div>
</body>
</html>
.icolor {
background: #FFFFFF;
width:10%;
}
#body{
width:100%;
background: #ff0000;
clear:both;
}