Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy does div is stretched bottom in IE but works well in chrome
    primarykey
    data
    text
    <p>The image in div element is stretching towards bottom in IE and firefox. But it is displayed well in chrome</p> <p><strong>IE</strong></p> <p><img src="https://i.stack.imgur.com/o8dyQ.png" alt="enter image description here"></p> <p><strong>Chrome</strong></p> <p><img src="https://i.stack.imgur.com/d7pIn.png" alt="enter image description here"></p> <p>It looks weird in IE. </p> <p>can some one help me how to fix.</p> <p>My HTML.</p> <pre><code> &lt;body onload="setTimeout(function() { window.scrollTo(0, 1) }, 100);"&gt; &lt;div id="mobile"&gt; &lt;div class="header"&gt; &lt;div class="container"&gt; &lt;h1&gt;&lt;span&gt; Välkommen &lt;/span&gt;&lt;/h1&gt; &lt;a href="index.htm"&gt;&lt;img src="../../published_images/Mobils_logo.png" alt="" /&gt;&lt;/a&gt; &lt;div style="clear:both; height:0; overflow:hidden;"&gt;&lt;/div&gt; &lt;/div&gt; &lt;/div&gt; &lt;div class="box-links"&gt; &lt;table cellpadding="0" cellspacing="0" border="0"&gt; &lt;tbody&gt; &lt;tr&gt; &lt;td&gt;&lt;a href="community.htm"&gt;Community&lt;/a&gt;&lt;/td&gt; &lt;td&gt;&lt;a href="mail.htm"&gt;Mail&lt;/a&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/tbody&gt; &lt;/table&gt; &lt;/div&gt; </code></pre> <p><strong>CSS</strong></p> <pre><code> /* Default */ body { background: #fff; margin: 0px; padding: 0px; font-size: 100%; /* to set it to 13px*/ font-family: Verdana; color:#000; } * html .clearfix { height: 1px; } h1, h2 { color: #444; font-weight:normal; padding-top:0; margin-top:0; } h1 { font-size: 1em; } a:link, a:visited, a:active, a:hover, a:focus { color: #0096ff; text-decoration: none; font-size: 1em; } a:hover, a:focus { background-color: #0096FF; color: #fff; } table { width:100%; padding:0; margin:0; } td { width:50%; padding:0; vertical-align:top; } /* Header */ div.header { height:52px; padding:28px 5px 0; } div.header div.container { border-bottom: 1px solid #0096FF; border-top: 1px solid #0096FF; padding:5px 0 5px 0; } div.header img { float:left; } div.header h1 { float:right; margin-top: 9px; margin-right: 10px; } div.header a { clear:both; } /* Box Common */ div.box-advert, div.box-links, div.box-back, div.box-footer, div.box-text { margin:0 5px 10px; padding: 8px 10px 8px; display:block; clear:both; } /* Box Advert */ div.box-links { padding-bottom: 0; } div.box-links TABLE A { color: #626262; } div.box-links TABLE a:hover, div.box-links TABLE a:focus { background-color: #0096FF; color: #fff; } div.box-links TABLE td { padding-bottom:3px; } div.box-links ul li A { background-image:url("../../published_images/mobil-arrow-blue.png"); background-position:0 6px; background-repeat:no-repeat; padding-left:14px; } div.box-links ul li A:hover, div.box-links ul li A:focus { background-image:url("../../published_images/mobil-arrow-white.png"); } </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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