42 users online (2 members and 40 guests)  


  Results 1 to 11 of 11

Related

  1. css question    Forum: CSS Forum
    Replies: 2
  2. Yet another question?    Forum: HTML Forum
    Replies: 3
  3. AnOtHeR QuEsTiOn    Forum: HTML Forum
    Replies: 1
  4. Question    Forum: HTML Forum
    Replies: 2
  5. another question...    Forum: HTML Forum
    Replies: 6
  1. #1
    Mythstalker's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2004
    Posts
    7

    new question on CSS

    I admit to being new to web pages.

    I have a form I am trying to fit on a single page when it prints. It runs off the right hand side. I have been searching the web using the "shrink to fit" key words.

    Any help is appriciated
    Duane

    Here is the print.css
    Here is the print.css
    Here is the print.css
    Here is the print.css

    BODY
    {
    font: 45%;
    BACKGROUND-COLOR: white;
    height: auto;
    color: #000000;
    WIDTH: 582px;
    }
    TABLE
    {
    WIDTH: 582px;
    padding-right: 1;
    }
    IMG
    {
    BORDER-RIGHT: medium none;
    BORDER-TOP: medium none;
    BORDER-LEFT: medium none;
    BORDER-BOTTOM: medium none
    }
    TEXTAREA
    {
    BORDER-RIGHT: medium none;
    BORDER-TOP: medium none;
    BORDER-LEFT: medium none;
    BORDER-BOTTOM: medium none;
    WIDTH: 582px;
    }
    .noPrint
    {
    DISPLAY: none
    }
    .page_table
    {
    WIDTH: 582px;
    }
    .header_table
    {
    DISPLAY: none
    }
    .page_table INPUT
    {
    BORDER-RIGHT: black 1px;
    BORDER-TOP: black;
    BORDER-LEFT: black;
    BORDER-BOTTOM: black 1px solid;
    TEXT-ALIGN: center
    }
    .pageBreakAfter
    {
    page-break-after: always
    }
    .pageBreakBefore
    {
    page-break-before: always
    }
    .draft_warning
    {
    COLOR: red;
    }
    .whats_this
    {
    DISPLAY: none;
    }
    .htmlform_table
    {
    COLOR: black
    }
    .excel_grid
    {
    BORDER-RIGHT: black 1px;
    PADDING-RIGHT: 0px;
    BORDER-TOP: black 1px;
    PADDING-LEFT: 0px;
    PADDING-BOTTOM: 0px;
    MARGIN: 0px;
    BORDER-LEFT: black 1px solid;
    PADDING-TOP: 0px;
    BORDER-BOTTOM: black 1px solid
    }
    .excel_grid TD
    {
    BORDER-RIGHT: black 1px solid;
    BORDER-TOP: black 1px solid;
    BORDER-LEFT: black 1px;
    BORDER-BOTTOM: black 1px
    }
    .excel_grid TR
    {
    BORDER-RIGHT: fuchsia;
    BORDER-TOP: fuchsia;
    BORDER-LEFT: fuchsia;
    BORDER-BOTTOM: fuchsia
    }
    .sw3p_form_2
    {
    BORDER-RIGHT: 1px solid;
    BORDER-TOP: 1px solid;
    BORDER-LEFT: 1px solid;
    BORDER-BOTTOM: 1px solid
    }
    .sw3p_form_2 TD
    {
    BORDER-RIGHT: 1px solid;
    BORDER-TOP: 1px solid;
    BORDER-LEFT: 1px solid;
    BORDER-BOTTOM: 1px solid
    }

    .sw3p_form_4
    {
    BORDER-RIGHT: 1px solid;
    BORDER-TOP: 1px solid;
    BORDER-LEFT: 1px solid;
    BORDER-BOTTOM: 1px solid
    }

    .sitemap
    {
    BORDER-RIGHT: black 4px solid;
    BORDER-TOP: black 4px solid;
    BORDER-LEFT: black 4px solid;
    BORDER-BOTTOM: black 4px solid;
    HEIGHT: 95%
    }
    .sitemap .gridsquares
    {
    BORDER-BOTTOM: black solid;
    HEIGHT: 683px
    }
    .sitemap .northarrow
    {
    BORDER-LEFT: black 4px solid;
    TEXT-ALIGN: center
    }
    .sitemap .legend
    {
    }
    .white_letters_on_grey_background
    {
    BACKGROUND-COLOR: white;
    COLOR: black
    }
    .white_letters_on_blue_background
    {
    BACKGROUND-COLOR: white;
    COLOR: black
    }


    Here is the ASP page
    Here is the ASP page
    Here is the ASP page
    Here is the ASP page
    Here is the ASP page
    Here is the ASP page
    Here is the ASP page
    Here is the ASP page
    Here is the ASP page
    Here is the ASP page
    Here is the ASP page
    Here is the ASP page
    Here is the ASP page
    Here is the ASP page
    Here is the ASP page
    Here is the ASP page

    <%@ Language=JScript %>
    <!--#include virtual="/_include/security.asp"-->
    <!--#include virtual="/_include/database.asp"-->
    <!--#include virtual="/_include/forms.asp"-->

    <%
    /* ws4 */
    /* 9.28.2003 - David Lively david@techvette.com */
    /*
    Home page, provides links to admin functions as well as the form tree.
    */
    arrNumbers = new Array(0,1,2,3,4,5,6,7,8,9,10);

    if(site_lock(Request('Site_ID'))!=1) {
    site_lock_alert();
    }

    function pre_populate(nSite_ID) {
    var strSQL = "select u.* from Users U, AllSites s where s.ID = "+nSite_ID+" and S.Region = U.Region";

    var rs = oConn().Execute(strSQL);
    if(!rs.EOF) {
    form_fields['Text223'] = RTrim(rs('Name'))+' [Fleet Manager]';
    form_fields['Text224'] = RTrim(rs('Phone'));
    form_fields['Text999'] = RTrim(rs('Name'));
    }
    for(i=203;i<=206;i++) form_fields['Text'+i]='Visual Inspection';
    }

    if (field_value('rowcount_1')=='') form_fields['rowcount_1']=1;
    if (field_value('rowcount_2')=='') form_fields['rowcount_2']=1;

    var nSite_ID = Request('Site_ID');
    var nForm_ID = Request('form_ID');
    var strAction=RTrim(Request('form_action'));
    var sStatus = new String();
    var nRC_1,nRC_2;

    switch(strAction) {
    case 'refresh' :
    frm_reload_submission();
    nRC_1 = field_value('outfalls_certified');
    nRC_2 = field_value('outfalls_not_certified');
    if ((nRC_1==0) && (nRC_2==0)) {
    sStatus+='You must specify at least one outfall on this form.';
    form_fields['outfalls_certified']=field_value('outfalls_certified_old');
    form_fields['outfalls_not_certified']=field_value('outfalls_not_certified_old');
    }
    break;
    case 'Update' :
    frm_reload_submission();
    nRC_1 = field_value('outfalls_certified');
    nRC_2 = field_value('outfalls_not_certified');
    if ((nRC_1==0) && (nRC_2==0)) {
    sStatus+='You must specify at least one outfall on this form.';
    form_fields['outfalls_certified']=field_value('outfalls_certified_old');
    form_fields['outfalls_not_certified']=field_value('outfalls_not_certified_old');
    }

    // verify that no items appearing in table 1, col 2 also appear in table 1, col 0.
    for(i=0;i<field_value('outfalls_certified');i++) {
    sCell1Name = 'cell.'+i+'.1';
    for(i2=0;i2<field_value('outfalls_not_certified');i2++) {
    sCell2Name = 'cell_2.'+i2+'.0';
    if (RTrim(form_fields[sCell1Name])==RTrim(form_fields[sCell2Name])) {
    sStatus+='[ '+RTrim(form_fields[sCell1Name])+' ]: Item cannot appear in both certified and non-ceritified outfall lists.<br>';
    } /*else {
    sStatus+='[ '+sCell1Name+' ]='+field_value(sCell1Name)+'<br>';
    sStatus+='[ '+sCell2Name+' ]='+field_value(sCell2Name)+'<br>';
    } // else */
    }
    }


    if (sStatus=='') {
    frm_save(nSite_ID,nForm_ID);
    Response.Redirect('/site_detail.asp?ID='+nSite_ID+'&#forms_table');
    }
    break;
    case 'Cancel' :
    Response.Redirect('/site_detail.asp?ID='+nSite_ID+'&#forms_table');
    break;
    case 'Resynchronize' :
    // clear this form's contents, and repopulate with the data from WS-2.
    // delete old values.
    oConn().Execute("delete from Form_Values where Form_ID = '"+nForm_ID+"' and Site_ID = "+nSite_ID);
    pre_populate(nSite_ID);
    break;
    case 'Add a Row' :
    frm_save(nSite_ID,nForm_ID);
    nRowcount_1=(parseInt(field_value('rowcount_1'),10)+1);
    form_fields['rowcount_1']=(nRowcount_1);
    break;
    case 'Add a row' :
    frm_save(nSite_ID,nForm_ID);
    nRowcount_2=(parseInt(field_value('rowcount_2'),10)+1);
    form_fields['rowcount_2']=(nRowcount_2);
    break;
    default :
    populate(nSite_ID,nForm_ID);
    }

    var nRowcount_1=field_value('rowcount_1');
    var nRowcount_2=field_value('rowcount_2');

    if (strAction=='Add a Row')
    nRowcount_1+=1;
    if (strAction=='Add a row')
    nRowcount_2+=1;

    pre_populate(nSite_ID);

    %>
    <html>
    <head>
    <style type="text/css">
    .add_button
    {
    BACKGROUND-COLOR: blue;
    COLOR: white;
    }
    </style>

    <script type="text/javascript" src="/_include/forms.js"></script>
    <link rel="stylesheet" type="text/css" href="/css/main.css" media="screen">
    <link rel="stylesheet" type="text/css" href="/css/print2.css" media="print">


    </head>



    <body>

    <center>
    <table class="page_table" cellpadding="0" cellspacing="0">
    <tr>
    <td class="toolbar" valign="top">
    <!--#include virtual="/_include/header.asp"-->
    </td>
    </tr>
    <tr>
    <td align="left" valign="top" class="content" height="100%">
    <br>
    <br>
    <form method="post" action="sw3p_4.asp">
    <input type="hidden" name="Site_ID" value="<%=nSite_ID%>">
    <input type="hidden" name="Form_ID" value="<%=nForm_ID%>">
    <input type="hidden" name="outfalls_certified_old" value="<%=field_value('outfalls_certified')%>">
    <input type="hidden" name="outfalls_not_certified_old" value="<%=field_value('outfalls_not_certified')%>">

    <centeR>
    <b><font color=red>DO NOT CONDUCT SITE VISIT WITHIN 72 HOURS OF A RAIN EVENT</font></b>
    </center>
    <br>

    <table border=0 class="noPrint">
    <tr>
    <td>Number of certified outfalls</td>
    <td><%=frm_select('outfalls_certified',arrNumbers,2)%></td>
    </tr>
    <tr>
    <td>Number of outfalls not certified</td>
    <Td><%=frm_select('outfalls_not_certified',arrNumbers,2)%></td>
    </tr>
    <tr>
    <td colspan=2><input type=submit name=form_action value="refresh"></td>
    </tr>
    </table>
    <center>


    <table border="0" class="sw3p_form_2" cellspacing="0" cellpadding="1">
    <tr>
    <td colspan=11 class="StatusLine"><%=sStatus%></td></tr>
    <tr>
    <th colspan="11">
    <p class=MsoHeader align=center style='text-align:center;mso-pagination:widow-orphan; tab-stops:center 3.25in left 254.85pt 349.9pt 5.5in 6.0in 6.5in'>
    <b style='mso-bidi-font-weight:normal'>
    <span style='font-size:16.0pt;mso-bidi-font-size:10.0pt;font-family:"Arial Narrow"'>NON-STORMWATER DISCHARGE INVESTIGATION AND CERTIFICATION</span><br>
    <span style='font-size:16.0pt;mso-bidi-font-size:10.0pt;font-family:"Arial Narrow"'>Worksheet No. 4</span></b></p>

    <br>
    <br>
    </th>
    </tr>
    <!-- part 1-->
    <tr>
    <td colspan=6>
    <%
    /* print(frm_hidden('rowcount_1',20,2));
    print(frm_hidden('rowcount_2',20,2));*/

    nRowcount_1=field_value('outfalls_certified');
    nRowcount_2=field_value('outfalls_not_certified');

    arrHeadings1 = new Array('Date and Time of Test or Evaluation',
    'Outfall Directly Observed During the Test(identify as shown on Site Map)',
    'Describe Method Used to Test or Evaluate Discharge',
    'Describe Results from Testing for Presence of Non-Storm Water Discharges ',
    'Identify Potential Significant Sources',
    'Name of Person Who Conducted the Test or Evaluation');

    print('<tr><td class="white_letters_on_grey_background" align="center" colspan='+arrHeadings1.length+'><font size="+1">NON-STORM WATER DISCHARGE INVESTIGATION</font></td></tr>');
    // print('<tr><td align="center" bgcolor="gray" colspan='+arrHeadings1.length+'><font color="white" size="+1">NON-STORM WATER DISCHARGE INVESTIGATION</font></td></tr>');

    print('<tr>');

    for(i=0;i<arrHeadings1.length;i++) {
    print('<td>'+arrHeadings1[i]+'</td>');
    }
    print('</tr>');

    if (nRowcount_1==0) {
    print('<tr><td colspan=6 align=center>None</td></tr>');
    } else
    for(iRows=0;iRows<nRowcount_1;iRows++) {
    print('<tr>');
    for(i=0;i<arrHeadings1.length;i++) {
    print('<td>');
    strName = 'cell.'+iRows+'.'+i;
    if (i==2) {
    form_fields[strName]='Visual Inspection';
    print(frm_text(strName,20,99,3));
    } else {
    print(frm_text(strName,20,2));
    }

    print('</td>');
    }
    print('</tr>');
    }

    /*
    print('<tr>');
    print('<td colspan=6><input class="add_button" type="submit" name="form_action" value="Add a Row"></td>');
    print('</td');
    */
    // add increment row
    print('</tr>');

    %>
    </td>
    </tr>
    <!-- end part 1 -->
    <!-- begin part 2 -->
    <%

    arrHeadings2 = new Array('Identify Outfall Not Tested / Evaluated',
    'Description of Why Certification Is Infeasible',
    'Description of Potential Sources of Non-Storm Water Pollution');

    print('<tr><td class="white_letters_on_grey_background" align="center" colspan='+arrHeadings1.length+'><font size="+1">FAILURE TO CERTIFY NOTIFICATION</font></td></tr>');

    print('<tr>');

    for(i=0;i<arrHeadings2.length;i++) {
    print('<td colspan=2>'+arrHeadings2[i]+'</td>');
    }
    print('</tr>');

    if (nRowcount_2==0) {
    print('<tr><td colspan=6 align=center>None</td></tr>');
    } else
    for(iRows=0;iRows<nRowcount_2;iRows++) {
    print('<tr>');
    for(i=0;i<arrHeadings2.length;i++) {
    print('<td colspan=2>');
    strName = 'cell_2.'+iRows+'.'+i;
    print(frm_textarea(strName,40,4,2));

    print('</td>');
    }
    print('</tr>');
    }
    /*
    print('<tr>');
    print('<td colspan=6><input class="add_button" type="submit" name="form_action" value="Add a row"></td>');
    // add increment row
    print('</tr>');
    */
    %>
    <tr>
    <td colspan="6">
    I, <% frm_text('Text999',50,99,3) %>, certify under penalty of law that this document and all attachments were prepared under my direction or supervision in accordance
    with a system designed to assure that qualified personnel properly gather and evaluate the information submitted. Based on my inquiry of the person or persons who manage
    the system or those persons directly responsible for gathering the information, the information submitted is, to the best of my knowledge and belief, true, accurate, and complete.
    I am aware that there are significant penalties for submitting false information, including the possibility of fine and imprisonment for knowing violations.
    </td>
    </tr>
    <tr>
    <td colspan="3">A. Name & Official Title (type or print)<Br> <% frm_text('Text223',50,99,3); %></td>
    <td colspan="3">B. Area Code and Telephone No.<br> <% frm_text('Text224',13,99,3); %></td>
    </tr>
    <tr>
    <td colspan="3">C. Signature<br><br></td><td colspan="3">D. Date Signed<br><% frm_text('Text225',10); %></td>
    </tr>

    <tr><td colspan="11">
    <div class="noPrint">
    <center>
    <p>
    <br>
    <input type="submit" name="form_action" value="Update">
    <input type="reset" id=reset1 name=reset1>
    <input type="submit" name="form_action2" value="Cancel">
    </p>
    <br>
    </center>
    </div>
    </td></tr>
    </table>
    </form>


    </td>
    </tr>
    <tr>
    <td class="footer" valign="bottom"><!--#include virtual="/_include/footer.asp"--></td>
    </tr>
    </table>
    </center>
    </body>
    </html>

  2. #2
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hi duane, thanks for posting this here.

    One thing to try is to change all the width: properties to be percentages in print.css instead of fixed widths. eg width: 75%;
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  3. #3
    Mythstalker's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2004
    Posts
    7

    shrink to fit when printing

    I tried the

    width 75%;

    it did not work.

  4. #4
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Hmm. I copied your code, and my print preview looks fine. However, I have not got got asp on my unix system, I am also missing the included files.
    Could you possibly save the output of this script, and save it as a static HTML page? you can then attach it to your post. Thanks.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  5. #5
    Mythstalker's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2004
    Posts
    7

    View source

    <STYLE type="text/css">
    H1 {
    FONT-WEIGHT: bold;
    FONT-SIZE: 14px;
    COLOR: #000000;
    FONT-FAMILY: Arial, Verdana, Tahoma;
    TEXT-DECORATION: none
    }
    H3 {
    FONT-WEIGHT: bold;
    FONT-SIZE: 12px;
    COLOR: #000000;
    FONT-FAMILY: Arial, Verdana, Tahoma;
    TEXT-DECORATION: none
    }

    .fleetmanager {
    COLOR: #FFFFFF;
    BACKGROUND-COLOR: #3333CC;
    }
    .fm {
    COLOR: #FFFFFF;
    BACKGROUND-COLOR: #3333CC;
    }

    .lggroup { COLOR: #000000; BACKGROUND-COLOR: #FF99FF;}.readonly { COLOR: #000000; BACKGROUND-COLOR: #FFFF99;}
    </style>

    <html>
    <head>
    <style type="text/css">
    .add_button
    {
    BACKGROUND-COLOR: blue;
    COLOR: white;
    }
    </style>

    <script type="text/javascript" src="/_include/forms.js"></script>
    <link rel="stylesheet" type="text/css" href="/css/main.css" media="screen">
    <link rel="stylesheet" type="text/css" href="/css/print2.css" media="print">


    </head>



    <body>

    <center>
    <table class="page_table" cellpadding="0" cellspacing="0">
    <tr>
    <td class="toolbar" valign="top">
    <table class="noPrint">
    <tr>
    <td width="88%" align="left" valign="top" >
    [<a target="_top" href="/home.asp">Home</a>]
    &nbsp;&nbsp;&nbsp;&nbsp;
    [<a target="_top" href="/announcements.asp">Announcements</a>]
    [<a target="_top" href="/facilities.asp">Facilities</a>]
    [<a target="_top" href="/summary_by_region.asp">Summary</a>]
    [<a target="_top" href="/training.asp">Training Tools</a>]
    [<a target="_top" href="/faq/">Online Help</a>]
    </td>

    <td align="right" valign="top" nowrap rowspan=2>
    [<a target="_top" href="javascript:history.back();">BACK</a>]
    [<a target="_top" href="/login.asp?form_action=LOGOUT">Logout</a>]
    (<i>Duane Lawrence </i>)
    </td>
    </tr>
    <tr>
    <td class="admin_controls" >

    [<a target="_top" href="/control_panel/">Control Panel</a>]
    [<a target="_top" href="/doc_exchange/">Document Exchange</a>]
    [<a target="_top" href="/reports/">Reports</a>]

    [<a target="_top" href="/dev.asp">Development</a>]

    </td>
    </table>

    <table class="draft_warning">
    <tr>
    <td rowspan="80%" align="center">

    </TD>
    </TR>
    </table>


    </td>
    </tr>
    <tr>
    <td align="left" valign="top" class="content" height="100%">
    <br>
    <br>
    <form method="post" action="sw3p_4.asp">
    <input type="hidden" name="Site_ID" value="14">
    <input type="hidden" name="Form_ID" value="{8B28D151-F843-4942-BF4F-78D4AB672AA1}">
    <input type="hidden" name="outfalls_certified_old" value="1">
    <input type="hidden" name="outfalls_not_certified_old" value="0">

    <centeR>
    <b><font color=red>DO NOT CONDUCT SITE VISIT WITHIN 72 HOURS OF A RAIN EVENT</font></b>
    </center>
    <br>

    <table border=0 class="noPrint">
    <tr>
    <td>Number of certified outfalls</td>
    <td><select title="outfalls_certified" name="outfalls_certified"><option>0</option>
    <option selected>1</option>
    <option>2</option>
    <option>3</option>
    <option>4</option>
    <option>5</option>
    <option>6</option>
    <option>7</option>
    <option>8</option>
    <option>9</option>
    <option>10</option>
    </select></td>
    </tr>
    <tr>
    <td>Number of outfalls not certified</td>
    <Td><select title="outfalls_not_certified" name="outfalls_not_certified"><option selected>0</option>
    <option>1</option>
    <option>2</option>
    <option>3</option>
    <option>4</option>
    <option>5</option>
    <option>6</option>
    <option>7</option>
    <option>8</option>
    <option>9</option>
    <option>10</option>
    </select></td>
    </tr>
    <tr>
    <td colspan=2><input type=submit name=form_action value="refresh"></td>
    </tr>
    </table>
    <center>


    <table border="0" class="sw3p_form_2" cellspacing="0" cellpadding="1">
    <tr>
    <td colspan=11 class="StatusLine"></td></tr>
    <tr>
    <th colspan="11">
    <p class=MsoHeader align=center style='text-align:center;mso-pagination:widow-orphan; tab-stops:center 3.25in left 254.85pt 349.9pt 5.5in 6.0in 6.5in'>
    <b style='mso-bidi-font-weight:normal'>
    <span style='font-size:16.0pt;mso-bidi-font-size:10.0pt;font-family:"Arial Narrow"'>NON-STORMWATER DISCHARGE INVESTIGATION AND CERTIFICATION</span><br>
    <span style='font-size:16.0pt;mso-bidi-font-size:10.0pt;font-family:"Arial Narrow"'>Worksheet No. 4</span></b></p>

    <br>
    <br>
    </th>
    </tr>
    <!-- part 1-->
    <tr>
    <td colspan=6>
    <tr><td class="white_letters_on_grey_background" align="center" colspan=6><font size="+1">NON-STORM WATER DISCHARGE INVESTIGATION</font></td></tr><tr><td>Date and Time of Test or Evaluation</td><td>Outfall Directly Observed During the Test(identify as shown on Site Map)</td><td>Describe Method Used to Test or Evaluate Discharge</td><td>Describe Results from Testing for Presence of Non-Storm Water Discharges </td><td>Identify Potential Significant Sources</td><td>Name of Person Who Conducted the Test or Evaluation</td></tr><tr><td><input title="cell.0.0" class="undefined" maxlength="25" size="20" type="text" name="cell.0.0" value="12/24/03"></td><td><input title="cell.0.1" class="undefined" maxlength="25" size="20" type="text" name="cell.0.1" value="#1"></td><td><input title="cell.0.2" class="readonly" maxlength="25" size="20" type="text" name="cell.0.2" value="VISUAL INSPECTION"></td><td><input title="cell.0.3" class="undefined" maxlength="25" size="20" type="text" name="cell.0.3" value="NONE"></td><td><input title="cell.0.4" class="undefined" maxlength="25" size="20" type="text" name="cell.0.4" value="NONE"></td><td><input title="cell.0.5" class="undefined" maxlength="25" size="20" type="text" name="cell.0.5" value="TERRY DEITZ"></td></tr></tr>
    </td>
    </tr>
    <!-- end part 1 -->
    <!-- begin part 2 -->
    <tr><td class="white_letters_on_grey_background" align="center" colspan=6><font size="+1">FAILURE TO CERTIFY NOTIFICATION</font></td></tr><tr><td colspan=2>Identify Outfall Not Tested / Evaluated</td><td colspan=2>Description of Why Certification Is Infeasible</td><td colspan=2>Description of Potential Sources of Non-Storm Water Pollution</td></tr><tr><td colspan=6 align=center>None</td></tr>
    <tr>
    <td colspan="6">
    I, <input title="Text999" class="readonly" maxlength="55" size="50" type="text" name="Text999" value="TERRY DEITZ">, certify under penalty of law that this document and all attachments were prepared under my direction or supervision in accordance
    with a system designed to assure that qualified personnel properly gather and evaluate the information submitted. Based on my inquiry of the person or persons who manage
    the system or those persons directly responsible for gathering the information, the information submitted is, to the best of my knowledge and belief, true, accurate, and complete.
    I am aware that there are significant penalties for submitting false information, including the possibility of fine and imprisonment for knowing violations.
    </td>
    </tr>
    <tr>
    <td colspan="3">A. Name & Official Title (type or print)<Br> <input title="Text223" class="readonly" maxlength="55" size="50" type="text" name="Text223" value="TERRY DEITZ [FLEET MANAGER]"></td>
    <td colspan="3">B. Area Code and Telephone No.<br> <input title="Text224" class="readonly" maxlength="18" size="13" type="text" name="Text224" value="601-592-6909"></td>
    </tr>
    <tr>
    <td colspan="3">C. Signature<br><br></td><td colspan="3">D. Date Signed<br><input title="Text225" class="undefined" maxlength="15" size="10" type="text" name="Text225" value=""></td>
    </tr>

    <tr><td colspan="11">
    <div class="noPrint">
    <center>
    <p>
    <br>
    <input type="submit" name="form_action" value="Update">
    <input type="reset" id=reset1 name=reset1>
    <input type="submit" name="form_action2" value="Cancel">
    </p>
    <br>
    </center>
    </div>
    </td></tr>
    </table>
    </form>


    </td>
    </tr>
    <tr>
    <td class="footer" valign="bottom"><div class="noPrint">
    <table width="100%">

    <tr>
    <td><br><table class="noPrint">
    <tr>
    <td width="88%" align="left" valign="top" >
    [<a target="_top" href="/home.asp">Home</a>]
    &nbsp;&nbsp;&nbsp;&nbsp;
    [<a target="_top" href="/announcements.asp">Announcements</a>]
    [<a target="_top" href="/facilities.asp">Facilities</a>]
    [<a target="_top" href="/summary_by_region.asp">Summary</a>]
    [<a target="_top" href="/training.asp">Training Tools</a>]
    [<a target="_top" href="/faq/">Online Help</a>]
    </td>

    <td align="right" valign="top" nowrap rowspan=2>
    [<a target="_top" href="javascript:history.back();">BACK</a>]
    [<a target="_top" href="/login.asp?form_action=LOGOUT">Logout</a>]
    (<i>Duane Lawrence </i>)
    </td>
    </tr>
    <tr>
    <td class="admin_controls" >

    [<a target="_top" href="/control_panel/">Control Panel</a>]
    [<a target="_top" href="/doc_exchange/">Document Exchange</a>]
    [<a target="_top" href="/reports/">Reports</a>]

    </td>
    </table>

    </td>
    <!--
    <td align="right">
    <a href="http://www.techvette.com/consulting/">
    <img src="/images/Site_Designed_By_Lively_Consulting_Flat.gif" WIDTH="115" HEIGHT="31">
    </a>
    </td>
    -->
    </tr>

    <tr>
    <td align="left">
    <a href="http://www.lopezgarciagroup.com" target="_NEW" border="0">
    <img src="/images/LGG-small-logo.jpg" WIDTH="50" HEIGHT="54">
    </a>
    </td>
    </table>
    </div>
    </td>
    </tr>
    </table>
    </center>
    </body>
    </html>

  6. #6
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Ahha.

    Basically, your content is too wide to fit on the page. The reason its not wrapping is the form inputs contained within the table cells (eg Date & Time etc)

    You can make these smaller, but then you prob wont be able to read it when printed. You might be better off dividing the row into two rows, should be half as wide then. Hope it helps.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  7. #7
    Mythstalker's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2004
    Posts
    7

    Layout

    These are built to resemble government forms, re-arranging the layout is not an option. I wish it was, I have been working on this going on 5 days.

  8. #8
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    I guess you will need wider paper in your printer then?

    Try reducing the size of the forum inputs, all of them. You MIGHT just get them all to fit on the paper in a row.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?

  9. #9
    Mythstalker's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2004
    Posts
    7

    colspan

    I found something that helped. There are 6 column, yet in some places colspan is set to 11. That helped, I can see more.

    Thanks QuietDean
    your earlier post got me looking at that

  10. #10
    Mythstalker's Avatar
    New User

    Status
    Offline
    Join Date
    Jan 2004
    Posts
    7

    Fixed

    QuietDean was right. The user defined function

    function frm_text(name, size, minaccess, colorclass) {

    has a SIZE, this was set to 22 characters, when I lowered it the html started flowing like it should and fit on the page.

    Summary:
    2 gatchas
    1.
    colspan was set to 11 and there were only 6 rows.

    2.
    The user defined function Frm_text was in the one row that had all 6 columns and the size was set to a high number. This caused the table to strech horizontally beyond the boundarys of the paper it was being printed on.

  11. #11
    QuietDean's Avatar
    Administrator

    Status
    Offline
    Join Date
    Oct 2000
    Location
    Bournemouth, UK
    Posts
    2,662
    Excellent. Good work.
    If one of our members helps you, please click the icon to add to their reputation!
    No support via email or private message - use the forums!
    Before you ask, have you Searched?



Tags for this Thread