Odi's astoundingly incomplete notes
New entries | CodeIE7 create table with DOM
I just noticed that IE7 is very picky when you create content via the DOM. In my image viewer I am creating a table object dynamically. However IE7 didn't show it because I did not use a
tbody
element and appended the tr
elements directly under table
. So when creating content via the DOM make sure to be extremely standards compliant. Firefox is more forgiving in this case.
Spent a full day trying to figure out what was wrong before I finally stumbled on your post.
You're the man!
matt
a table *may* be gathered within <tbody> tags, they don't say *must*. So the standard doesn't
prescribe mandatory <tbody> sections in a <table>
-- Massimo