 <p>HTML</p> <pre><code>&lt;div class="main"&gt; &lt;div class="Parent"&gt; &lt;/div&gt; &lt;/div&gt; </code></pre> <p>CSS</p> <pre><code>.Parent{ width:200px; height:100px; background:red; position:absolute; right:0; top:200px; } .main{ width:700px; margin:auto; height:1000px; background:blue; } </code></pre> <p>​ <a href="http://jsfiddle.net/afshinprofe/qhCsJ/5/" rel="nofollow">DEMO</a></p>