Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>When all is said and done the short answer is...because IE can be very retarted. That said here is a work around:</p> <p>First you issue simplified is this:</p> <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"&gt; &lt;head&gt;&lt;/head&gt; &lt;body&gt; &lt;table width="1000" border="1"&gt; &lt;tr&gt; &lt;td width="250" style="background-color:blue;"&gt;a1&lt;/td&gt; &lt;td style="background-color:green;" &gt;a&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td colspan="2" style="background-color:red;"&gt; &lt;table&gt; &lt;tr&gt; &lt;td width="1000"&gt;c2&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>Notice your 2nd td in your 1st row has no width specified. If you know what the width should be then you can work around this issue like so:</p> <pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"&gt; &lt;html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"&gt; &lt;head&gt;&lt;/head&gt; &lt;body&gt; &lt;table width="1000" border="1"&gt; &lt;tr&gt; &lt;td width="250" style="background-color:blue;"&gt;a1&lt;/td&gt; &lt;td width="750" style="background-color:green;" &gt;a&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td colspan="2" style="background-color:red;"&gt; &lt;table&gt; &lt;tr&gt; &lt;td width="1000"&gt;c2&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>I do agree with what others have said, that css is the way to go, but that was not your question. Hopefully this helps.</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