The following does not work properly in Firefox (1.5).
<div id='div1' style='width:255;height:255;overflow:auto;display:none;'></div>
<script>
function TurnItOn()
{
document.getElementById("div1").style.display= 'inline';
}
</script>
The scrollbars will not show up. It completely ignores the overflow:auto attribute.
To get the overflow to work properly, set the display attribute to 'block'.
Weird.
Print | posted on Thursday, February 23, 2006 4:54 PM