Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
1 <!DOCTYPE html>
2 <html style="height: 100%">
3 <head>
4 <script>
5 function doIt() {
6 var d = document.createElement("div");
7 d.setAttribute("style",
8 "position: absolute; left: 0; right: 0; top: 0; " +
9 "bottom: 0; background: green");
10 document.getElementById("x").appendChild(d);
11 }
12 </script>
13 </head>
14 <body style="height: 100%" onload="doIt()">
15 <table style="height: 50%; width: 50%">
16 <tr>
17 <td id="x" style="position: relative; top: 25%; left: 25%">
18 </td>
19 </tr>
20 </table>
21 </body>
22 </html>