In Explorer Mac any table always has position: relative
.
The table on the example page has an explicit position: static
. It contains
an absolutely positioned .testdiv
. In positioning this div browsers should
ignore the table because they should ignore all elements with position: static
.
However, Explorer Mac behaves as if the table has position: relative
and positions
the test div relative to the table.
.container { position: static; margin-top: 50px; margin-bottom: 100px; border: 1px solid #000000; } td { border: 1px solid #000000; } .testdiv { position: absolute; top: 20px; left: 20px; background-color: #AD007B; color: #ffffff; }
The testdiv
element is positioned relative to the browser window and ignores
the table.
Explorer Mac behaves as if the table has position: relative
.