I have a table in which I use the CSS display property to change the layout. For full-size browsers I use a "block", and for smaller browsers I use a "table-cell". It works fine in Firefox, Safari and Chrome, but for some reason IE9 seems to mess it up, of course ... When I debug a page using Firebug and the like, it is clear that all browsers except IE change the display: table- cell to display: block. But IE is stuck in the display: block, although the CSS file clearly states that it should be a table cell.
Are there any known issues with the "table-cell" in IE9 or any known work around?
EDIT: The problem is not in the table cell, but in the Display: block on the table cell.
The problem I encountered can be found here: http://css-tricks.com/examples/ResponsiveTables/responsive.php
Open in Chrome / Firefox and resize the browser window - the table responds and changes to a narrow design. Open in IE9 and resize - the table is static and does not change.
EDIT2: In the previous example, the responsive part is commented out for IE, because the creator knew it would be messy. However, I want to be able to create a design that also works in IE, so I need to make some workaround for it to work.
Here is a JSFiddle example that shows how IE9 messed up a responsive table when the reprocessing part is enabled: http://jsfiddle.net/2Mt37/
source
share