![]() So, now lets turn of Compatibility View and try forcing the mode by adding this meta tag to our code: But what users are going to think to do that? Probably none, but the most power users.įortunately, the IE team thought of this in advanced and implemented the X-UA-Compatible meta tag to give us a way to force a page to Compatibility View. So great, IE8 can render the grid like we want-as long as the user turns on Compatibility View manually. So, let's see what happens if I turn on Compatibility view for this site (click on the icon next to the address bar, or go to Tools > Compatibility View.) Now the table appears as I'd expect: So the behavior in IE8 is quite a bit different. In IE8 it's ignoring rows that aren't visible-therefore causing a corruption to the display. It may not be immediately obvious as to the problem, but the root cause is how IE8 is handling the rowspan attribute of a table cell. Now, if you look at the grid in IE8 it looks like this: This functionality has been working fine in Firefox, IE, Chrome, Safari in every major version. If you click on the icon, the row expands. This is what the table looks like in every browser but IE8: In our application, we have a table that has collapsible rows.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |