?
Solved

Strange effect on dynamically generated tables and divs

Posted on 2005-04-15
22
Medium Priority
?
231 Views
Last Modified: 2013-12-24
The code below is generated dynamically through cfqueries and loops, when the page displays the bottom of the elements is flush with the bottom of the browser window, but when you print the page the layout changes to have a space at teh bottom of the inputs -
why does this only appear after the print call? I have tried different layouts but cannot get the 'margin' to be there when the page loads....

any ideas?



<!doctype html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
<head>
    <title>
        Accident / Lost Time Injury Report - Americas
    </title>
    <style>
th{
      width:120px;
      font-size:10pt;
}
.th1{
       border-bottom:1px outset blue;
      font-size:10pt;
}
.boxContent {
      border: none;
      position: relative;
      left: -2px;
      top: -2px;
}
.boxContainer {
      position: relative;
      background: #666;
      margin: 4px;
      color:#DEEAFE
}
A:active,
A:link,
A:hover,
A:visited{
      text-decoration:none;
      color:00008b;
}</style>
<script language="JavaScript" type="text/javascript">function showHideForm(objShow,objButAct,objButActClr,objButActBrdrClr,objHide,objButDis){
      document.getElementById(objShow).style.visibility='visible';
      document.getElementById(objButAct).style.backgroundColor=objButActClr;
      document.getElementById(objButAct).style.borderTop='3px';
      document.getElementById(objButAct).style.borderLeft='3px';
      document.getElementById(objButAct).style.borderRight='3px';
      document.getElementById(objButAct).style.borderBottom='0px';
      document.getElementById(objButAct).style.borderColor=objButActBrdrClr;
      document.getElementById(objButAct).style.borderStyle='outset';
      document.getElementById(objHide).style.visibility='hidden';
      document.getElementById(objButDis).style.borderStyle='none';
      document.getElementById(objButDis).style.backgroundColor='#dcdcdc';

}

function JPrint(){
     // Create the WScript
     var objWScriptShell = new ActiveXObject("WScript.Shell");
     // Send Keys
     objWScriptShell.SendKeys("(%f)u");
     // Change the header
     objWScriptShell.SendKeys("(%h)");    // Header
     objWScriptShell.SendKeys("Page (+7)p of (+7)(+p)");   // None
     objWScriptShell.SendKeys("(%f)");    // Footer
     objWScriptShell.SendKeys("{BS}");   // None
     // Change to landscape
     objWScriptShell.SendKeys("(%a)");
       objWScriptShell.SendKeys("(%t)");
       objWScriptShell.SendKeys("0.40");
       objWScriptShell.SendKeys("(%b)");
       objWScriptShell.SendKeys("0.40");
     objWScriptShell.SendKeys("~");       // Enter O.K.
      setTimeout("window.print()",500);      

}

function hideElements(){
//store all elements with id=remove to "remove_el"
var remove_el=document.all.remove
//if there is only one element with id=remove
if (remove_el!='' && remove_el.length==null)
remove_el.style.display='none'
else{
//for each element with id=remove
for (i=0;i<remove_el.length;i++)
remove_el[i].style.display='none'
}
document.getElementById("acc").style.visibility="visible";
document.getElementById("inj").style.visibility="visible";
document.getElementById("showPrintDiv").style.visibility="visible";
document.getElementById('showPrintDiv').style.top=eval(document.getElementById('acc').scrollHeight +20);
document.getElementById("inj").style.top=eval(document.getElementById('acc').scrollHeight +document.getElementById('showPrintDiv').scrollHeight);

}

function restoreelements(){
//store all elements with id=remove to "remove_el"
var remove_el=document.all.remove
//if there is only one element with id=remove
if (remove_el!='' && remove_el.length==null)
remove_el.style.display='block'
else{
//for each element with id=remove
for (i=0;i<remove_el.length;i++)
remove_el[i].style.display='block'
}
document.getElementById("acc").style.visibility="visible";
document.getElementById("inj").style.visibility="hidden";
document.getElementById("showPrintDiv").style.visibility="hidden";
document.getElementById("inj").style.top=0;
showHideForm('acc','butAcc','#DEEAFE','#DEEAFE','inj','butInj');
}

window.onbeforeprint=hideElements
window.onafterprint=restoreelements
</script>
</head>
   <body onLoad="document.links[1].onclick();document.links[0].onclick();">        
      <form name="frmAccInjInput" action="" method="post">
            <table width="750" align="center" cellspacing="0" cellpadding="0">
                  <caption><h3>Accident / Lost Time Injury Report</h3>
                  </caption>
            </table>
            <div align="center">               
               <font color="0000ff">"Actual Frequency Previous Month" column uses the numbers from March, 2005.</font>
            </div>
         <input type="Hidden" name="Frm_Chk" value="">
            <table width="750" align="center" cellspacing="0" cellpadding="0">
                  <caption><h3></h3>
                  </caption>
                  <tr>
                        <td id="butAcc" width="120px" bgcolor="#DEEAFE"><a href="#" onClick="showHideForm('acc','butAcc','#DEEAFE','#DEEAFE','inj','butInj'); return false;" id="remove">
Accident Report
</a>
                        </td>
                        <td id="butInj" width="160px" bgcolor="#ffffff"><a href="#" onClick="showHideForm('inj','butInj','#ffffff','#ffffff','acc','butAcc'); return false;" id="remove">
Lost Time Injury Report
</a>
                        </td>
                        <td colspan="3" width="300px" style="color:Red">      &nbsp;Week Ending:                                      Apr 16, 2005
                                         <input type="hidden" name="txtWKENDDT" value="Saturday, Apr 16 2005">
                        </td>
                        <td width="100px" id="remove">
                           <input type="Button" value="Close Report" onClick="window.close();" style="width:4cm;background:0541A3;color:white;border-color:white;">
                           <input type="Button" onClick="JPrint();" value="Print Report" id="remove" style="width:4cm;background:0541A3;color:white;border-color:white;text-align:center;">
                        </td>
                  </tr>
                  <tr>
                        <td colspan="6">
                              <div style="position:relative; top:0; left:0; margin:0;">
                                    <div id="acc" style="position:absolute; top:0; left:0; border-style:outset; border-color:#DEEAFE; border-top:0px; background-color:#DEEAFE;">
                                          <table cellspacing="0" align="center">
                                                <caption style="font-weight: 600; border-left:0px;border-right:0px;border-bottom:0px; border-top:3px; border-style:outset; border-color:#DEEAFE;">      Accident Report
                                                </caption>
                                                <tr>
                                                      <th style="font-size:8pt">
                                                      </th>
                                                      <th style="font-size:8pt">      Actual
                                                      </th>
                                                      <th bgcolor="#ffffff" style="font-size:8pt">      Actual
                                                      </th>
                                                      <th style="font-size:8pt">      Plan
                                                      </th>
                                                      <th bgcolor="#ffffff" style="font-size:8pt">      Actual
                                                      </th>
                                                      <th style="font-size:8pt">      Plan
                                                      </th>
                                                      <th bgcolor="#ffffff" style="font-size:8pt">      Difference
                                                      </th>
                                                      <th style="font-size:8pt">      Plan
                                                      </th>
                                                      <th bgcolor="#ffffff" style="font-size:8pt">      Actual
                                                      </th>
                                                      <th style="font-size:8pt">      Estimate
                                                      </th>
                                                      <th style="font-size:8pt" bgcolor="#ffffff">      Actual
                                                      </th>
                                                </tr>
                                                <tr>
                                                      <th style="font-size:8pt">
                                                      </th>
                                                      <th style="font-size:8pt">      Current
                                                      </th>
                                                      <th bgcolor="#ffffff" style="font-size:8pt">      Current
                                                      </th>
                                                      <th style="font-size:8pt">      Current
                                                      </th>
                                                      <th bgcolor="#ffffff" style="font-size:8pt">      Current
                                                      </th>
                                                      <th style="font-size:8pt">      Current
                                                      </th>
                                                      <th bgcolor="#ffffff" style="font-size:8pt">      (+/-)
                                                      </th>
                                                      <th style="font-size:8pt">      Frequency
                                                      </th>
                                                      <th bgcolor="#ffffff" style="font-size:8pt">      Frequency
                                                      </th>
                                                      <th style="font-size:8pt">      Frequency
                                                      </th>
                                                      <th style="font-size:8pt" bgcolor="#ffffff">      Frequency
                                                      </th>
                                                </tr>
                                                <tr>
                                                      <th class="th1" style="font-size:8pt">      Country
                                                      </th>
                                                      <th class="th1" style="font-size:8pt">      Week
                                                      </th>
                                                      <th class="th1" bgcolor="#ffffff" style="font-size:8pt">      Month
                                                      </th>
                                                      <th class="th1" style="font-size:8pt">      Month
                                                      </th>
                                                      <th class="th1" bgcolor="#ffffff" style="font-size:8pt">      YTD
                                                      </th>
                                                      <th class="th1" style="font-size:8pt">      YTD
                                                      </th>
                                                      <th class="th1" bgcolor="#ffffff" style="font-size:8pt">      Current YTD
                                                      </th>
                                                      <th class="th1" style="font-size:8pt">      Current Month
                                                      </th>
                                                      <th class="th1" bgcolor="#ffffff" style="font-size:8pt">      Previous Month
                                                      </th>
                                                      <th class="th1" style="font-size:8pt">      Current Week
                                                      </th>
                                                      <th class="th1" bgcolor="#ffffff" style="font-size:8pt">      Current Month (L/Y)
                                                      </th>
                                                </tr>
                                                <tr align="center" bgcolor="#ffffff">
                                                      <td align="left" style="font-size:8pt"><strong>ARGENTINA</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="">
                                                      <td align="left" style="font-size:8pt"><strong>BOLIVIA</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="#ffffff">
                                                      <td align="left" style="font-size:8pt"><strong>BRAZIL</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="">
                                                      <td align="left" style="font-size:8pt"><strong>CANADA</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="#ffffff">
                                                      <td align="left" style="font-size:8pt"><strong>CHILE</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="">
                                                      <td align="left" style="font-size:8pt"><strong>COLOMBIA</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="#ffffff">
                                                      <td align="left" style="font-size:8pt"><strong>COSTA RICA</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="">
                                                      <td align="left" style="font-size:8pt"><strong>DOM REP AIR CARGO</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="#ffffff">
                                                      <td align="left" style="font-size:8pt"><strong>DOMINICAN REPUBLIC</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="">
                                                      <td align="left" style="font-size:8pt"><strong>ECUADOR</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="#ffffff">
                                                      <td align="left" style="font-size:8pt"><strong>EL SALVADOR</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="">
                                                      <td align="left" style="font-size:8pt"><strong>GUATEMALA</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="#ffffff">
                                                      <td align="left" style="font-size:8pt"><strong>HONDURAS</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="">
                                                      <td align="left" style="font-size:8pt"><strong>MEXICO</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="1" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="2" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="13" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="41" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="49" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="-8" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=" 18.56 " readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=" 16.00 " readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=" 5.51 " readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=" 0.00 " readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="#ffffff">
                                                      <td align="left" style="font-size:8pt"><strong>MIAMI GTWY</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="">
                                                      <td align="left" style="font-size:8pt"><strong>MIAMI HUB</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="#ffffff">
                                                      <td align="left" style="font-size:8pt"><strong>MIAMI UPSAC</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="">
                                                      <td align="left" style="font-size:8pt"><strong>NICARAGUA</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="#ffffff">
                                                      <td align="left" style="font-size:8pt"><strong>PANAMA</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="">
                                                      <td align="left" style="font-size:8pt"><strong>PUERTO RICO</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr>
                                                      <td style="border-top:1px outset blue;" align="center"><strong>Region Total</strong>
                                                      </td>
                                                      <td style="border-top:1px outset blue;" align="center"><strong>1</strong>
                                                      </td>
                                                      <td style="border-top:1px outset blue;" align="center"><strong>2</strong>
                                                      </td>
                                                      <td style="border-top:1px outset blue;" align="center"><strong>13</strong>
                                                      </td>
                                                      <td style="border-top:1px outset blue;" align="center"><strong>41</strong>
                                                      </td>
                                                      <td style="border-top:1px outset blue;" align="center"><strong>49</strong>
                                                      </td>
                                                      <td style="border-top:1px outset blue;" align="center"><strong>-8</strong>
                                                      </td>
                                                      <td style="border-top:1px outset blue;" align="center"><strong> 18.56 </strong>
                                                      </td>
                                                      <td style="border-top:1px outset blue;" align="center"><strong> 16.53 </strong>
                                                      </td>
                                                      <td style="border-top:1px outset blue;" align="center"><strong> 5.51 </strong>
                                                      </td>
                                                      <td style="border-top:1px outset blue;" align="center"><strong> 0.00 </strong>
                                                      </td>
                                                </tr>
                                          </table>
                                    </div>
                                    <div align="center" id="showPrintDiv" style="position:absolute; top:0; visibility:hidden">
                                          <table width="750" align="center" cellspacing="0" cellpadding="0">
                                                <caption><h3>Accident / Lost Time Injury Report</h3>
                                                </caption>
                                                <tr>
                                                      <td colspan="6" align="center">                                                        
                                                         <font color="0000ff">"Actual Frequency Previous Month" column uses the numbers from March, 2005.</font>
                                                      </td>
                                                </tr>
                                                <tr>
                                                      <td width="120px">
                                                      </td>
                                                      <td width="160px">
                                                      </td>
                                                      <td colspan="3" width="300px" style="color:Red">      &nbsp;Week Ending:                                                                    Apr 16, 2005
                                                                       <input type="hidden" name="txtWKENDDT" value="Saturday, Apr 16 2005">
                                                      </td>
                                                      <td width="100px">
                                                      </td>
                                                </tr>
                                          </table>
                                    </div>
                                    <div id="inj" style="position:absolute; top:0; left:0; border-top:0px; border-style:outset; border-color:#ffffff; visibility:hidden; margin:0; background-color:#ffffff;">
                                          <table cellspacing="0" align="center">
                                                <caption style="font-weight: 600; border-left:0px;border-right:0px;border-bottom:0px; border-top:3px; border-style:outset; border-color:#ffffff;">      Lost Time Injury Report
                                                </caption>
                                                <tr>
                                                      <th>
                                                      </th>
                                                      <th style="font-size:8pt">      Actual
                                                      </th>
                                                      <th bgcolor="#DEEAFE" style="font-size:8pt">      Actual
                                                      </th>
                                                      <th style="font-size:8pt">      Plan
                                                      </th>
                                                      <th bgcolor="#DEEAFE" style="font-size:8pt">      Actual
                                                      </th>
                                                      <th style="font-size:8pt">      Plan
                                                      </th>
                                                      <th bgcolor="#DEEAFE" style="font-size:8pt">      Difference
                                                      </th>
                                                      <th style="font-size:8pt">      Plan
                                                      </th>
                                                      <th bgcolor="#DEEAFE" style="font-size:8pt">      Actual
                                                      </th>
                                                      <th style="font-size:8pt">      Estimate
                                                      </th>
                                                      <th bgcolor="#DEEAFE" style="font-size:8pt">      Actual
                                                      </th>
                                                </tr>
                                                <tr>
                                                      <th>
                                                      </th>
                                                      <th style="font-size:8pt">      Current
                                                      </th>
                                                      <th bgcolor="#DEEAFE" style="font-size:8pt">      Current
                                                      </th>
                                                      <th style="font-size:8pt">      Current
                                                      </th>
                                                      <th bgcolor="#DEEAFE" style="font-size:8pt">      Current
                                                      </th>
                                                      <th style="font-size:8pt">      Current
                                                      </th>
                                                      <th bgcolor="#DEEAFE" style="font-size:8pt">      (+/-)
                                                      </th>
                                                      <th style="font-size:8pt">      Frequency
                                                      </th>
                                                      <th bgcolor="#DEEAFE" style="font-size:8pt">      Frequency
                                                      </th>
                                                      <th style="font-size:8pt">      Frequency
                                                      </th>
                                                      <th bgcolor="#DEEAFE" style="font-size:8pt">      Frequency
                                                      </th>
                                                </tr>
                                                <tr>
                                                      <th class="th1" style="font-size:8pt">      Country
                                                      </th>
                                                      <th class="th1" style="font-size:8pt">      Week
                                                      </th>
                                                      <th class="th1" bgcolor="#DEEAFE" style="font-size:8pt">      Month
                                                      </th>
                                                      <th class="th1" style="font-size:8pt">      Month
                                                      </th>
                                                      <th class="th1" bgcolor="#DEEAFE" style="font-size:8pt">      YTD
                                                      </th>
                                                      <th class="th1" style="font-size:8pt">      YTD
                                                      </th>
                                                      <th class="th1" bgcolor="#DEEAFE" style="font-size:8pt">      Current YTD
                                                      </th>
                                                      <th class="th1" style="font-size:8pt">      Current Month
                                                      </th>
                                                      <th class="th1" bgcolor="#DEEAFE" style="font-size:8pt">      Previous Month
                                                      </th>
                                                      <th class="th1" style="font-size:8pt">      Current Week
                                                      </th>
                                                      <th class="th1" bgcolor="#DEEAFE" style="font-size:8pt">      Current Month (L/Y)
                                                      </th>
                                                </tr>
                                                <tr align="center" bgcolor="#DEEAFE">
                                                      <td align="left" style="font-size:8pt"><strong>ARGENTINA</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="">
                                                      <td align="left" style="font-size:8pt"><strong>BOLIVIA</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="#DEEAFE">
                                                      <td align="left" style="font-size:8pt"><strong>BRAZIL</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="">
                                                      <td align="left" style="font-size:8pt"><strong>CANADA</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="#DEEAFE">
                                                      <td align="left" style="font-size:8pt"><strong>CHILE</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="">
                                                      <td align="left" style="font-size:8pt"><strong>COLOMBIA</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="#DEEAFE">
                                                      <td align="left" style="font-size:8pt"><strong>COSTA RICA</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="">
                                                      <td align="left" style="font-size:8pt"><strong>DOM REP AIR CARGO</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="#DEEAFE">
                                                      <td align="left" style="font-size:8pt"><strong>DOMINICAN REPUBLIC</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="">
                                                      <td align="left" style="font-size:8pt"><strong>ECUADOR</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="#DEEAFE">
                                                      <td align="left" style="font-size:8pt"><strong>EL SALVADOR</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="">
                                                      <td align="left" style="font-size:8pt"><strong>GUATEMALA</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="#DEEAFE">
                                                      <td align="left" style="font-size:8pt"><strong>HONDURAS</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="">
                                                      <td align="left" style="font-size:8pt"><strong>MEXICO</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=" 2.00 " readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="#DEEAFE">
                                                      <td align="left" style="font-size:8pt"><strong>MIAMI GTWY</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="">
                                                      <td align="left" style="font-size:8pt"><strong>MIAMI HUB</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="#DEEAFE">
                                                      <td align="left" style="font-size:8pt"><strong>MIAMI UPSAC</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="">
                                                      <td align="left" style="font-size:8pt"><strong>NICARAGUA</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="#DEEAFE">
                                                      <td align="left" style="font-size:8pt"><strong>PANAMA</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr align="center" bgcolor="">
                                                      <td align="left" style="font-size:8pt"><strong>PUERTO RICO</strong>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value="" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="8" value=""" readonly>
                                                      </td>
                                                      <td>
                                                         <input type="text" style="text-align:center" size="4" value=""" readonly>
                                                      </td>
                                                </tr>
                                                <tr>
                                                      <td style="border-top:1px outset blue;" align="center"><strong>Region Total</strong>
                                                      </td>
                                                      <td style="border-top:1px outset blue;" align="center"><strong>0</strong>
                                                      </td>
                                                      <td style="border-top:1px outset blue;" align="center"><strong>0</strong>
                                                      </td>
                                                      <td style="border-top:1px outset blue;" align="center"><strong>0</strong>
                                                      </td>
                                                      <td style="border-top:1px outset blue;" align="center"><strong>0</strong>
                                                      </td>
                                                      <td style="border-top:1px outset blue;" align="center"><strong>0</strong>
                                                      </td>
                                                      <td style="border-top:1px outset blue;" align="center"><strong>0</strong>
                                                      </td>
                                                      <td style="border-top:1px outset blue;" align="center"><strong> 0.00 </strong>
                                                      </td>
                                                      <td style="border-top:1px outset blue;" align="center"><strong> 2.56 </strong>
                                                      </td>
                                                      <td style="border-top:1px outset blue;" align="center"><strong> 0.00 </strong>
                                                      </td>
                                                      <td style="border-top:1px outset blue;" align="center"><strong> 0.00 </strong>
                                                      </td>
                                                </tr>
                                          </table>
                                    </div>
                              </div>
                        </td>
                  </tr>
            </table>
      </form><br>
   </body>
</html>
0
Comment
Question by:James Rodgers
  • 11
  • 9
  • 2
22 Comments
 
LVL 5

Expert Comment

by:kkhipple
ID: 13790349
why not just create another table at the bottom of the page with white space... ?  
0
 
LVL 25

Author Comment

by:James Rodgers
ID: 13790364
tried that, as well as a div, <br> &nbsp;

but just dont see why it happens...
0
 
LVL 5

Expert Comment

by:kkhipple
ID: 13791084
hmm .... for the moment comment out all your divs...
0
New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

 
LVL 35

Expert Comment

by:mrichmon
ID: 13791856
You can try print specific styles to make the printed page look like the actual page using media="print"

However when I load your page and then try printing the results look the same.  I see no extra spacing at the bottom of inputs that is not already visible on the screen.

I used Firefox 1.0.2
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 13791867
Whoops I actually used Internet Explorer 6... Let me test firefox
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 13791879
Yep same results in firefox as Internet explorer - it looks almost identical from print as on screen - whther i use your print button or go directly to print from the menu....
0
 
LVL 25

Author Comment

by:James Rodgers
ID: 13792156
yes it's all very strange....
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 13792215
What is very strange?

I don't understand the problem.  It looks the same on the screen as when printed to me in both browsers.  I thought you siad that it looked different after a print call.  I don't see that when I copy the above code and test it.
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 13792232
And another question...

Why are all the inputs readonly?  Why not use regular text instead of inputs?  Then you can control the effect using CSS if you want it to still have a border or any other look you desire.  But I don't see a purpose to the readonly inputs....
0
 
LVL 25

Author Comment

by:James Rodgers
ID: 13792245
this is a combined input and output page, when output is selected the data is read only
0
 
LVL 25

Author Comment

by:James Rodgers
ID: 13792267
>>I don't understand the problem.  It looks the same on the screen as when printed to me in both browsers.  I thought you siad that it looked different after a print call.  I don't see that when I copy the above code and test it.

when the page first loads the bottom of teh table is flush to teh bottom of teh browser window, when you select to print, the page now has ~1" white space at the bottom of teh table, i can't get that white space to appear on page load, not a big deal but bugging the hell out of me...
 
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 13792518
WHen the page first loads for me the table is not flush to the bottom of the browser window.  I'll send screenshots of what I see to your email....
0
 
LVL 25

Author Comment

by:James Rodgers
ID: 13792613
what version of IE did you use?
0
 
LVL 25

Author Comment

by:James Rodgers
ID: 13792636
try reducing your screen size so that you have to scroll, see if it duplicates what i have described.
0
 
LVL 35

Accepted Solution

by:
mrichmon earned 500 total points
ID: 13793133
IE 6

Okay I see...
 SO what you want to do is have the margin there to begin with?

I know it has to do with the positioning you are doing (both absoulte and relative) or why it is not there initially.

I have no idea why it changes after the print, but I am hesitant to try a lot of things because your script changes the person's print defaults without restoring the original settings....

But one thing I do see is that you have invalid code which could be screwing it up.

Notice that in a lot of places you have """ (three quotes) instead of 2.

If you open the file in a program that color codes such as dreamweaver you will see that it is improperly seeing portions as strings that are tags.

Try cleaning this up.  I'll keep looking.
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 13793223
(PS I found 272 occurences of the triple quote....)

Why do you need the positioning?  The normal flow of elements should work for a layout like this.  And in fact removing the positioning relative div completely and then removing the position:absolute; top:0; left:0;  makes the display what you are expecting - and also makes it so later elelments in the page don't get incorrectly affected as well (for example if you wanted to add text under the table - you can't without making these changes.)
0
 
LVL 25

Author Comment

by:James Rodgers
ID: 13804754
>>Notice that in a lot of places you have """ (three quotes) instead of 2.
not me, i'm the fixer, didn't even check the quoting, when i ran code sweeper it never found it
thanks...


>>I have no idea why it changes after the print, but I am hesitant to try a lot of things because your script changes the person's print defaults without restoring the original settings....
the only thng i found that could save them was the meadroid activex and the company won't pay for it... and even if they did the webmaster won't install third-party software, at least nothing i have asked for, on the server

>>I know it has to do with the positioning you are doing (both absoulte and relative) or why it is not there initially.
that solved it!
without the position:relative in teh first div the second and third divs are placed at 0,0 of the screen but witrh the first div positioning they are placed at 0,0 of the relativly positioned div... but moving along
in these lines
<div style="position:relative; top:0; left:0; margin:0;">
                               <div id="acc" style="position:absolute; top:0; left:0; border-style:outset; border-color:#DEEAFE; border-top:0px; background-color:#DEEAFE;">
changing the second one from absolute to relative fixed the problem...

>>Why do you need the positioning?
user requirements, wanted both outputs easily accessible and visible without having to scroll the screen
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 13807189
With your current activeX print code you should do 1 of 2 things:

1) You can manualy read the settings, save them to local variables, and put them back when your print is done.

2) Warn the user that you will be adjusting their print settings permanently.
0
 
LVL 25

Author Comment

by:James Rodgers
ID: 13807396
>>1) You can manualy read the settings, save them to local variables, and put them back when your print is done.
considered that but don't know how to read the vars from the original settings.

2) Warn the user that you will be adjusting their print settings permanently
this doesn't seem to happen, seems to only apply for the session, weird but after going to another page the settings  aren't there, seems to be a result of opening the page in a new window... *shrug*

0
 
LVL 35

Expert Comment

by:mrichmon
ID: 13807596
For my machine it was permanent....until I manually set them back.
0
 
LVL 25

Author Comment

by:James Rodgers
ID: 13807653
hasn't happened here, the way it works is the page witht the above code is called as a window.open, and i tested it before my last post and the settings only changed in that window, maybe it has to do with the system settings on our internal machines
0
 
LVL 35

Expert Comment

by:mrichmon
ID: 13807999
maybe because I tested on a few machines and all had the settings permanently changed....
0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

One of the typical problems I have experienced is when you have to move a web server from one hosting site to another. You normally prepare all on the new host, transfer the site, change DNS and cross your fingers hoping all will be ok on new server…
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
Is your data getting by on basic protection measures? In today’s climate of debilitating malware and ransomware—like WannaCry—that may not be enough. You need to establish more than basics, like a recovery plan that protects both data and endpoints.…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question