Note that there are some explanatory texts on larger screens.

plurals
  1. POUnwrappable float is clearing in IE, but renders with scrollbars in all other browsers
    primarykey
    data
    text
    <p>On one page on my site, I have a table in the right column that is too wide and rather than showing scrollbars, IE is wrapping it below the content in the left column. I can't find a fix for this because I don't know how to describe what's happening.</p> <p>Here's the code I'm using to demonstrate the problem:</p> <pre><code>&lt;style&gt; #col1 { float: left; width:189px; font-size:8pt;} #col3 { width: auto; margin: 0 0 0 191px; } &lt;/style&gt; &lt;body&gt; &lt;div id="col1"&gt; &lt;div style="padding-top:30em;border:1px solid red"&gt;really tall&lt;/div&gt; &lt;/div&gt; &lt;div id="col3"&gt; &lt;h1&gt;title&lt;/h1&gt; &lt;table border="1"&gt; &lt;tr&gt; &lt;td&gt;aaaaaaaaaa&lt;/td&gt;&lt;td&gt;aaaaaaaaaa&lt;/td&gt; &lt;td&gt;aaaaaaaaaa&lt;/td&gt;&lt;td&gt;aaaaaaaaaa&lt;/td&gt; &lt;td&gt;aaaaaaaaaa&lt;/td&gt;&lt;td&gt;aaaaaaaaaa&lt;/td&gt; &lt;td&gt;aaaaaaaaaa&lt;/td&gt;&lt;td&gt;aaaaaaaaaa&lt;/td&gt; &lt;td&gt;aaaaaaaaaa&lt;/td&gt;&lt;td&gt;aaaaaaaaaa&lt;/td&gt; &lt;td&gt;aaaaaaaaaa&lt;/td&gt;&lt;td&gt;aaaaaaaaaa&lt;/td&gt; &lt;td&gt;aaaaaaaaaa&lt;/td&gt;&lt;td&gt;aaaaaaaaaa&lt;/td&gt; &lt;td&gt;aaaaaaaaaa&lt;/td&gt;&lt;td&gt;aaaaaaaaaa&lt;/td&gt; &lt;td&gt;aaaaaaaaaa&lt;/td&gt;&lt;td&gt;aaaaaaaaaa&lt;/td&gt; &lt;td&gt;aaaaaaaaaa&lt;/td&gt;&lt;td&gt;aaaaaaaaaa&lt;/td&gt; &lt;td&gt;aaaaaaaaaa&lt;/td&gt;&lt;td&gt;aaaaaaaaaa&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/div&gt; &lt;/body&gt; </code></pre> <p>And here's how it renders in IE: <img src="https://i.stack.imgur.com/IMajS.png"></p> <p>In all other browsers, the table of a's shows just under "title" and I get a horizontal scrollbar. This is what I'd expect, but for some reason, IE wants to clear the content in col1. I've tried applying widths, floats, etc, but I can't get IE to put the table under the title without clearing the col1 content. </p> <p>I assume there's some IE hack for this, but what is it?</p>
    singulars
    1. This table or related slice is empty.
    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.
    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