<style> div { border: solid 1px; } #div1 { height: 500px; width: 500px; } #div2 { height: 200px; width: 200px; margin: 150px; } </style> <div id=div1> <div id=div2> и в нём div поменьше, </div> </div>