Internet Explorer Tables: Attribute colspan, rowspan, cellPadding and cellSpacing have no effect on table
This issue was first noticed when using XSLT to add a cell to a table similar to the following:
... <td colspan="5" align="center"> <xsl:value-of select="The title"/> </td>
The expected behaviour, and that seen in the other browsers, would be for the cell to span across the next 5 columns, instead the
colspan attribute in Internet Explorer appeared to have no effect on the table cell, it was contained within a single column.
Online information and further tests show that
colSpan must be used for this case in Internet Explorer, further tests show that the attributes
rowSpan@, @cellSpacing and
cellPadding are similarly affected - they must use lowerCamelCase to be recognized by IE. These camel-cased attributes are recognized by other browsers so they can be used as a workaround.
A fix for this will be included in the next release of Saxon-CE so that, for these cases, IE behaviour is consistent with the other major browsers.
Updated by Philip Fearon over 10 years ago
- Status changed from In Progress to Resolved
- Assignee set to Philip Fearon
- % Done changed from 0 to 100
Updated by O'Neil Delpratt about 10 years ago
- Status changed from Resolved to Closed
- Sprint/Milestone set to Release 1.1
- Found in version set to 1.0
- Fixed in version set to 1.1
Bug fixed for Saxon-CE version 1.1 release
Please register to edit this issue