Internet Explorer 8 Adding a second colgroup

In internet explorer 8, a second blank colgroup keeps being added to my DOM, that is not present in my code that keeps throwing off the width of my table. Has anyone seen this before?

<COLGROUP>
<COL>
<COL>
<COL>
<COL>
<COL>
<COL>
</COLGROUP>
<COLGROUP>
<COL style="WIDTH: 15%">
<COL style="WIDTH: 35%">
<COL style="WIDTH: 10%">
<COL style="WIDTH: 10%">
<COL style="WIDTH: 10%">
<COL style="WIDTH: 20%">
</COLGROUP>

Answers


Occasionally, I've had this happen in IE when I've forgotten to close an element (for example, opening but not closing a paragraph will sometimes cause IE8 to insert another paragraph). To start, close your styles with a semi-colon or simply switch to the shorthand <col width="35%">, etc. I can't say for certain this will solve your problem, but it's a good place to start.


Need Your Help

Views getting darker when are pushed on navigation controller

ios objective-c uiviewcontroller uinavigationcontroller transitions

I'm pushing ViewControllers on NavigationController by segues. I have my own subclassed NavigationController which has inserted UIImageView at index 0 - it's a background for my entire application....