To preserve the layout of your page when you print it, use a specific non-relative value instead of a percentage. If you want your control to occupy a certain percentage of the screen, you can calculate the appropriate height dynamically through code. For example, instead of setting the height in the OBJECT tag in the following manner
<OBJECT id="myControl" classid="clsid:8E27C92B-1264-101C-8A2F-040224009C02" height="75%">
set the height from the
onLoad event of the BODY tag, as follows:
<BODY onload="javascript:myControl.height=document.body.offsetHeight * 0.75;">
<OBJECT id="myControl" classid="clsid:8E27C92B-1264-101C-8A2F-040224009C02" >