html, body, #containerA, #containerB { height:100%; } body { margin:0; padding:0; overflow:hidden; }