Note that there are some explanatory texts on larger screens.

plurals
  1. POPlace div over other elements
    text
    copied!<p>I'm trying to place an icon over a div but the overlaying div is pushing the rest of the contents down. I'm stuck although it should be pretty easy. Please have a look at <a href="http://jsfiddle.net/EESAc/1/" rel="nofollow">this fiddle</a> and let me know what I'm doing wrong (apart from using tables in the design!)</p> <pre><code>body{ background-color: #666; } .sizesbg { background-color:#fff; -webkit-border-radius: 10px; border-radius: 10px; width: 170px; text-align: center; } .soldicon { background: url("http://www.oroeora.gr/preowned/images/sold_curl_small.png") no-repeat scroll left top transparent; height: 155px; left: 0; top: 0; width: 170px; z-index: 2; } &lt;table&gt; &lt;tr&gt; &lt;td class="sizesbg"&gt; &lt;div style="width:150px; overflow:hidden; max-height:140px; max-width:150px; min-height:100px;"&gt; &lt;img src="http://www.carfolio.com/images/dbimages/zgas/manufacturers/id/843/bmw-logo.png" width="140" height="140"&gt; &lt;/div&gt; &lt;/td&gt; &lt;td class="sizesbg"&gt; &lt;div class="soldicon"&gt;&lt;/div&gt; &lt;div style="width:150px; overflow:hidden; max-height:140px; max-width:150px; min-height:100px;"&gt; &lt;img src="http://mcurrent.name/atarihistory/warner_books_logo.gif" width="140" height="140"&gt; &lt;/div&gt; &lt;/td&gt; &lt;td class="sizesbg"&gt; &lt;div style="width:150px; overflow:hidden; max-height:140px; max-width:150px; min-height:100px;"&gt; &lt;img src="http://www.mindxstudio.com/images/mindxstudio-logo-icon.jpg" width="140" height="140"&gt; &lt;/div&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; </code></pre> <p>Thanks!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload