<body onload="document.getElementById('a').style.height='100%';"> <div style="width:200px; height:200px; overflow:auto"> <div> <table id=a cellspacing=0 cellpadding=0 border=0 height="100%"><tr><td> <div style="width:300px; background:green; height:100%"><div style="height:1px"><!--Workaround for unrelated table bug--></div> </div> </table> </div> </div>