Solved

Dumb Form Problem

Posted on 2003-12-10
10
240 Views
Last Modified: 2010-04-09
How come in IE when you insert a form the brower automatically adds a line under the form?  Is there any way to stop this from happening?
0
Comment
Question by:NTGuru705
  • 4
  • 3
  • 3
10 Comments
 
LVL 2

Expert Comment

by:anthony_castillon
ID: 9916565
I've never encountered this situation.  Can you post your HTML form code?
0
 
LVL 1

Author Comment

by:NTGuru705
ID: 9916616
I have a cell in a table.. where I put a form.. then I put a table inside the form  Think this is all you need...

<td height="24" valign="middle"><form name="form2" method="post" action="cpdetreport.asp">
                                <table width="100%"  border="0" cellspacing="2" cellpadding="1">
                                  <tr valign="middle" bgcolor="#000000">
                                    <td colspan="3"><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif">ACCESS DETAIL VIEW FOR AN ORDER NUMBER</font></td>
                                  </tr>
                                  <tr valign="middle">
                                    <td width="0" bgcolor="#CCCCCC"><font size="1" face="Arial, Helvetica, sans-serif">ORDER NUMBER: </font></td>
                                    <td width="0"><font size="1" face="Arial, Helvetica, sans-serif">
                                      <input name="ordernum" type="text" id="order222">
                                    </font></td>
                                    <td width="0"> <font size="1" face="Arial, Helvetica, sans-serif">
                                      <input name="order" type="radio" value="purchase" checked>
      PURCHASE ORDER
      <input name="order" type="radio" value="order">
      ORDER NUMBER </font></td>
                                  </tr>
                                  <tr valign="middle">
                                    <td width="0" bgcolor="#CCCCCC"><font size="1" face="Arial, Helvetica, sans-serif">SUBMIT QUERY:</font> </td>
                                    <td width="0"><input type="submit" name="Submit22" value="Query"></td>
                                    <td width="0">&nbsp;</td>
                                  </tr>
                                </table>
                              </form></td>
0
 
LVL 2

Expert Comment

by:anthony_castillon
ID: 9916645
I cut and pasted your code in notepad and opened it in a browser and nothing seems to be wrong with it.  Well, the form is inside a table cell.  Does the enclosing table have borders?  Otherwise, there shouldn't be a line there as you described it.


anthony
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 1

Author Comment

by:NTGuru705
ID: 9916829
There is a space after it... when viewing in IE on my machine... I can setup some port forawrding and show it to you but will be tomorrow before I am able to make that happen...

Here is the entire page..  it is asp

<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<!--#include file="../../../../../Connections/to_psdevelop.asp" -->
<%
Dim Recordset1
Dim Recordset1_numRows

Set Recordset1 = Server.CreateObject("ADODB.Recordset")
Recordset1.ActiveConnection = MM_to_psdevelop_STRING
Recordset1.Source = "{call dbo.FF_RetrieveCARPayReport1_sp}"
Recordset1.CursorType = 0
Recordset1.CursorLocation = 2
Recordset1.LockType = 1
Recordset1.Open()

Recordset1_numRows = 0
%>
<%
Dim Recordset2__daysback
Recordset2__daysback = "30"
If (Request.Form("daysback") <> "") Then
  Recordset2__daysback = Request.Form("daysback")
End If
%>
<%
Dim Recordset2
Dim Recordset2_numRows

Set Recordset2 = Server.CreateObject("ADODB.Recordset")
Recordset2.ActiveConnection = MM_to_psdevelop_STRING
Recordset2.Source = "exec dbo.FF_RetrieveCARPayReport2_sp " + Replace(Recordset2__daysback, "'", "''") + ""
Recordset2.CursorType = 0
Recordset2.CursorLocation = 2
Recordset2.LockType = 1
Recordset2.Open()

Recordset2_numRows = 0
%>
<%
Dim Repeat1__numRows
Dim Repeat1__index

Repeat1__numRows = -1
Repeat1__index = 0
Recordset2_numRows = Recordset2_numRows + Repeat1__numRows
%>
<html><!-- InstanceBegin template="/Templates/PortalActive.dwt.asp" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>FirstFleet, Inc. - CARRIER PAYABLE REPORTING</title>
<!-- InstanceEndEditable -->
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- InstanceBeginEditable name="head" -->
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}

function YY_checkform() { //v4.71
//copyright (c)1998,2002 Yaromat.com
  var a=YY_checkform.arguments,oo=true,v='',s='',err=false,r,o,at,o1,t,i,j,ma,rx,cd,cm,cy,dte,at;
  for (i=1; i<a.length;i=i+4){
    if (a[i+1].charAt(0)=='#'){r=true; a[i+1]=a[i+1].substring(1);}else{r=false}
    o=MM_findObj(a[i].replace(/\[\d+\]/ig,""));
    o1=MM_findObj(a[i+1].replace(/\[\d+\]/ig,""));
    v=o.value;t=a[i+2];
    if (o.type=='text'||o.type=='password'||o.type=='hidden'){
      if (r&&v.length==0){err=true}
      if (v.length>0)
      if (t==1){ //fromto
        ma=a[i+1].split('_');if(isNaN(v)||v<ma[0]/1||v > ma[1]/1){err=true}
      } else if (t==2){
        rx=new RegExp("^[\\w\.=-]+@[\\w\\.-]+\\.[a-zA-Z]{2,4}$");if(!rx.test(v))err=true;
      } else if (t==3){ // date
        ma=a[i+1].split("#");at=v.match(ma[0]);
        if(at){
          cd=(at[ma[1]])?at[ma[1]]:1;cm=at[ma[2]]-1;cy=at[ma[3]];
          dte=new Date(cy,cm,cd);
          if(dte.getFullYear()!=cy||dte.getDate()!=cd||dte.getMonth()!=cm){err=true};
        }else{err=true}
      } else if (t==4){ // time
        ma=a[i+1].split("#");at=v.match(ma[0]);if(!at){err=true}
      } else if (t==5){ // check this 2
            if(o1.length)o1=o1[a[i+1].replace(/(.*\[)|(\].*)/ig,"")];
            if(!o1.checked){err=true}
      } else if (t==6){ // the same
            if(v!=MM_findObj(a[i+1]).value){err=true}
      }
    } else
    if (!o.type&&o.length>0&&o[0].type=='radio'){
          at = a[i].match(/(.*)\[(\d+)\].*/i);
          o2=(o.length>1)?o[at[2]]:o;
      if (t==1&&o2&&o2.checked&&o1&&o1.value.length/1==0){err=true}
      if (t==2){
        oo=false;
        for(j=0;j<o.length;j++){oo=oo||o[j].checked}
        if(!oo){s+='* '+a[i+3]+'\n'}
      }
    } else if (o.type=='checkbox'){
      if((t==1&&o.checked==false)||(t==2&&o.checked&&o1&&o1.value.length/1==0)){err=true}
    } else if (o.type=='select-one'||o.type=='select-multiple'){
      if(t==1&&o.selectedIndex/1==0){err=true}
    }else if (o.type=='textarea'){
      if(v.length<a[i+1]){err=true}
    }
    if (err){s+='* '+a[i+3]+'\n'; err=false}
  }
  if (s!=''){alert('The required information is incomplete or contains errors:\t\t\t\t\t\n\n'+s)}
  document.MM_returnValue = (s=='');
}
//-->
</script>
<!-- InstanceEndEditable -->
<script language="JavaScript" type="text/JavaScript">
<!--



function MM_preloadImages() { //v3.0
  var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
//-->
</script>
</head>

<body bgcolor="#EFEFEF" background="../../../../../_images/misc/background.jpg" text="#000000" leftmargin="0" topmargin="2" marginwidth="0" marginheight="0">
<div align="center">
  <table width="100%" height="100%">
    <tr>
      <td align="center" valign="top"><table width="720" height="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#000000" bgcolor="#FFFFFF">
<tr>
            <td height="21" valign="top">
<table width="100%" border="0" cellpadding="0" cellspacing="0" background="../../../../../_images/headers/main/headerslice.gif">
                <tr>
                  <td width="38%"><div align="left"><font face="Arial, Helvetica, sans-serif"><img src="../../../../../_images/headers/main/headerleft.gif" width="267" height="85"></font></div></td>
                  <td width="62%" align="left" valign="top"> <div align="right"><font face="Arial, Helvetica, sans-serif"><img src="../../../../../_images/headers/main/headerright.gif" width="325" height="85"></font></div></td>
                </tr>
              </table></td>
          </tr>
          <tr>
            <td align="left" valign="top"><table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
                <tr>
                  <td height="25" colspan="4" align="left" valign="top" bgcolor="#000000"><table width="100%" height="25" border="0" cellpadding="0" cellspacing="0">
                    <tr>
                      <td width="59%"><img src="../../../../../_images/navbar/top/portalactive.gif" width="360" height="25" hspace="0" vspace="0" border="0" align="texttop" usemap="#Map">
<map name="Map">
                          <area shape="rect" coords="1,3,107,25" href="../../../../../default.asp">
                          <area shape="rect" coords="113,2,226,25" href="#">
                          <area shape="rect" coords="229,2,335,25" href="../../../../default.asp">
                        </map></td>
                      <td width="41%"><div align="right"></div>
                          <div align="right"><font color="#FFFFFF" size="2" face="Times New Roman, Times, serif">
                                      <%If Session ("IsUserlogged") <> "Yes" Then
                                    Response.Write ("LOGIN::")
                               Else
                                     Response.Write ("LOGOUT::")      
                               End if%>
                               <a href=<%
                               If Session ("IsUserlogged") <> "Yes" Then
                                    Response.Write ("http://tank.firstfleet.com/login.asp")
                               Else
                                     Response.Write ("http://tank.firstfleet.com/default.asp?MM_Logoutnow=1")
                               End if%>><img src="../../../../../_images/headers/main/key.gif"
                                
                                 width="20" height="20" border="0" align="absmiddle"></a><font color="#000000">_ </font>HOME:: <img src="../../../../../_images/headers/main/hm.gif" width="22" height="20" vspace="2" align="absmiddle"><font color="#000000">_</font> SEARCH:: </font><font size="2" face="Times New Roman, Times, serif"><img src="../../../../../_images/headers/main/srch.gif" width="20" height="20" hspace="2" vspace="2" align="absmiddle"></font></div>
                      </td>
                    </tr>
                  </table></td>
                </tr>
                <tr>
                  <td height="5" colspan="4" align="left" valign="top"><p><img src="../../../../../_images/navbar/top/redbar.gif" width="719" height="7"></p>
                  </td>
                </tr>
                <tr>
                  <td width="159" align="left" valign="top"><table width="159" border="0" cellpadding="0" cellspacing="0" background="../../../../../_images/navbar/top/background.gif">
                    <tr>
                      <td width="159" height="25"><img src="../../../../../_images/navbar/top/topper.gif" width="159" height="25"></td>
                    </tr>
                    <tr>
                      <td>&nbsp;</td>
                    </tr>
                    <tr>
                      <td height="20">&nbsp;</td>
                    </tr>
                    <tr>
                      <td height="20">&nbsp;</td>
                    </tr>
                    <tr>
                      <td height="20">&nbsp;</td>
                    </tr>
                    <tr>
                      <td height="20">&nbsp;</td>
                    </tr>
                    <tr>
                      <td height="35" background="../../../../../_images/navbar/top/bottom.gif">&nbsp;</td>
                    </tr>
                  </table></td>
                  <td width="557" colspan="3" align="left" valign="top"> <table width="560" height="100%" border="0" cellpadding="1" cellspacing="1">
                      <tr>
                        <td height="34" align="left" valign="top"><!-- InstanceBeginEditable name="MainBody" -->
                          <table width="544" border="0" align="right">
                            <tr>
                              <td height="24" valign="middle" background="../../../../../_images/misc/redbar.gif"><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif">//QUICK GLANCE</font></td>
                            </tr>
                            <tr>
                              <td><div align="center">
                                <table width="100%"  border="0" align="center">
                                    <tr bgcolor="#000000">
                                      <td width="140"><div align="left"><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif">CATEGORY</font></div></td>
                                      <td bgcolor="#000000"><div align="center"><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif">7 DAYS </font></div></td>
                                      <td bgcolor="#000000"><div align="center"><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif">30 DAYS </font></div></td>
                                      <td bgcolor="#000000"><div align="center"><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif">60 DAYS </font></div></td>
                                      <td bgcolor="#000000"><div align="center"><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif">90 DAYS </font></div></td>
                                    </tr>
                                    <tr>
                                      <td width="140" bgcolor="#CCCCCC"><font size="1" face="Arial, Helvetica, sans-serif">BOL CHANGE:</font></td>
                                      <td bgcolor="#D3EDE0"><div align="center"><font size="1"><%=(Recordset1.Fields.Item("CatGBOL7").Value)%></font></div></td>
                                      <td bgcolor="#D3EDE0"><div align="center"><font size="1"><%=(Recordset1.Fields.Item("CatGBOL30").Value)%></font></div></td>
                                      <td bgcolor="#D3EDE0"><div align="center"><font size="1"><%=(Recordset1.Fields.Item("CatGBOL60").Value)%></font></div></td>
                                      <td bgcolor="#D3EDE0"><div align="center"><font size="1"><%=(Recordset1.Fields.Item("CatGBOL90").Value)%></font></div></td>
                                    </tr>
                                    <tr>
                                      <td width="140" bgcolor="#CCCCCC"><font size="1" face="Arial, Helvetica, sans-serif">CARRIER CHANGE:</font></td>
                                      <td><div align="center"><font size="1"><%=(Recordset1.Fields.Item("CatGCAR7").Value)%></font></div></td>
                                      <td><div align="center"><font size="1"><%=(Recordset1.Fields.Item("CatGCAR30").Value)%></font></div></td>
                                      <td><div align="center"><font size="1"><%=(Recordset1.Fields.Item("CatGCAR60").Value)%></font></div></td>
                                      <td><div align="center"><font size="1"><%=(Recordset1.Fields.Item("CatGCAR90").Value)%></font></div></td>
                                    </tr>
                                    <tr>
                                      <td width="140" bgcolor="#CCCCCC"><font size="1" face="Arial, Helvetica, sans-serif">PAY ADJUSTMENT:</font></td>
                                      <td bgcolor="#D3EDE0"><div align="center"><font size="1"><%=(Recordset1.Fields.Item("CatGPAY7").Value)%></font></div></td>
                                      <td bgcolor="#D3EDE0"><div align="center"><font size="1"><%=(Recordset1.Fields.Item("CatGPAY30").Value)%></font></div></td>
                                      <td bgcolor="#D3EDE0"><div align="center"><font size="1"><%=(Recordset1.Fields.Item("CatGPAY60").Value)%></font></div></td>
                                      <td bgcolor="#D3EDE0"><div align="center"><font size="1"><%=(Recordset1.Fields.Item("CatGPAY90").Value)%></font></div></td>
                                    </tr>
                                    <tr>
                                      <td width="140" bgcolor="#CCCCCC"><font size="1" face="Arial, Helvetica, sans-serif">OTHER:</font></td>
                                      <td><div align="center"><font size="1"><%=(Recordset1.Fields.Item("CatGOTH7").Value)%></font></div></td>
                                      <td><div align="center"><font size="1"><%=(Recordset1.Fields.Item("CatGOTH30").Value)%></font></div></td>
                                      <td><div align="center"><font size="1"><%=(Recordset1.Fields.Item("CatGOTH60").Value)%></font></div></td>
                                      <td><div align="center"><font size="1"><%=(Recordset1.Fields.Item("CatGOTH90").Value)%></font></div></td>
                                    </tr>
                                    <tr>
                                      <td width="140" bgcolor="#CCCCCC"><font size="1" face="Arial, Helvetica, sans-serif">TOTALS:</font></td>
                                      <td bgcolor="#FFFFCC"><div align="center"><font size="1"><%=(Recordset1.Fields.Item("Sum7").Value)%></font></div></td>
                                      <td bgcolor="#FFFFCC"><div align="center"><font size="1" face="Arial, Helvetica, sans-serif"><%=(Recordset1.Fields.Item("Sum30").Value)%></font></div></td>
                                      <td bgcolor="#FFFFCC"><div align="center"><font size="1" face="Arial, Helvetica, sans-serif"><%=(Recordset1.Fields.Item("Sum60").Value)%></font></div></td>
                                      <td bgcolor="#FFFFCC"><div align="center"><font size="1" face="Arial, Helvetica, sans-serif"><%=(Recordset1.Fields.Item("Sum90").Value)%></font></div></td>
                                    </tr>
                                                              </table>
                              </div></td>
                            </tr>
                            <tr>
                              <td height="24" valign="middle" background="../../../../../_images/misc/redbar.gif"><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif">//ORDER INQUIRY</font></td>
                            </tr>
                            <tr>
                              <td height="24" valign="middle"><form action="cpdetreport.asp" method="post" name="form2" onSubmit="YY_checkform('form2','order222','#q','0','You must enter an order number.');return document.MM_returnValue">
                                <table width="100%"  border="0" cellspacing="2" cellpadding="1">
                                  <tr valign="middle" bgcolor="#000000">
                                    <td colspan="3"><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif">ACCESS DETAIL VIEW FOR AN ORDER NUMBER</font></td>
                                  </tr>
                                  <tr valign="middle">
                                    <td width="0" bgcolor="#CCCCCC"><font size="1" face="Arial, Helvetica, sans-serif">ORDER NUMBER: </font></td>
                                    <td width="0"><font size="1" face="Arial, Helvetica, sans-serif">
                                      <input name="ordernum" type="text" id="order222" onBlur="YY_checkform('form2','order222','#q','0','You must enter an order number.');return document.MM_returnValue">
                                    </font></td>
                                    <td width="0"> <font size="1" face="Arial, Helvetica, sans-serif">
                                      <input name="order" type="radio" value="PURCHASE" checked>
      PURCHASE ORDER
      <input name="order" type="radio" value="order">
      ORDER NUMBER </font></td>
                                  </tr>
                                  <tr valign="middle">
                                    <td width="0" bgcolor="#CCCCCC"><font size="1" face="Arial, Helvetica, sans-serif">SUBMIT QUERY:</font> </td>
                                    <td width="0"><input type="submit" name="Submit22" value="Query"></td>
                                    <td width="0">&nbsp;</td>
                                  </tr>
                                </table>
                              </form></td>
                            </tr>
                            <tr>
                              <td height="24" valign="middle" background="../../../../../_images/misc/redbar.gif"><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif">//TERMINAL SUMMARY REPORT</font></td>
                            </tr>
                            <tr valign="top">
                              <td height="23"><table width="100%"  border="0">
                                <tr>
                                  <td colspan="9"><table width="100%"  border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
                                    <tr>
                                      <td height="5" valign="top"><div align="right">
                                        <form name="form1" method="post" action="">
                                          <font color="#000000" size="1" face="Arial, Helvetica, sans-serif"><em>Set <font color="#FF0000">days back</font> and press &quot;Go&quot; --&gt;</em> </font>
                                          <input name="daysback" type="text" id="daysback16" value=<%if request.form("daysback") <> "" Then
                                                                                                                                    Response.Write(Request.Form("daysback"))%>
                                                                                                                                    <%else Response.Write("30") end if%> size="3" maxlength="3">
                                          <input type="submit" name="Submit" value="Go">
                                        </form>
</div></td>
                                      <td width="1%" valign="top">&nbsp;</td>
                                    </tr>
                                  </table></td>
                                  </tr>
                                <tr bgcolor="#000000">
                                  <td width="0"><div align="center"><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif">TERMINAL</font></div></td>
                                  <td width="0"><div align="center"><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif">QTY</font></div></td>
                                  <td width="0"><div align="center"><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif">TOTAL</font></div></td>
                                  <td width="0"><div align="center"><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif">R. QTY </font></div></td>
                                  <td width="0"><div align="center"><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif">R. TOTAL </font></div></td>
                                  <td width="0"><div align="center"><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif">%</font></div></td>
                                  <td width="0"><div align="center"><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif">#CAR</font></div></td>
                                  <td width="0"><div align="center"><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif">TOP CAR</font></div></td>
                                  <td width="1%"><div align="center"><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif">DETAIL</font></div></td>
                                </tr>
<%rowcolor = 0                          %>
                                              <%
While ((Repeat1__numRows <> 0) AND (NOT Recordset2.EOF))
%>
                                <% If Not Recordset2.EOF Or Not Recordset2.BOF Then %>
      <%If rowcolor = 0 Then%>                    
                                                <tr bgcolor="#D3EDE0">
                                    <%else%>
                                          <tr bgcolor="#FFFFFF">
                                    <%end if%>
                                    <td width="0"><div align="center"><font color="#000000" size="1" face="Arial, Helvetica, sans-serif"><%=(Recordset2.Fields.Item("ff_division").Value)%></font></div></td>
                                    <td width="0"><div align="center"><font color="#000000" size="1" face="Arial, Helvetica, sans-serif"><%=(Recordset2.Fields.Item("pocreated").Value)%></font></div></td>
                                    <td width="0"><div align="center"><font color="#000000" size="1" face="Arial, Helvetica, sans-serif"><%=FormatCurrency((Recordset2.Fields.Item("poamount").Value))%></font></div></td>
                                    <td width="0"><div align="center"><font color="#000000" size="1" face="Arial, Helvetica, sans-serif"><%=(Recordset2.Fields.Item("rebuild").Value)%></font></div></td>
                                    <td width="0"><div align="center"><font color="#000000" size="1" face="Arial, Helvetica, sans-serif"><%=FormatCurrency((Recordset2.Fields.Item("potouchtotal").Value))%></font></div></td>
                                    <td width="0"><div align="center"><font color="#000000" size="1" face="Arial, Helvetica, sans-serif"><%=(Recordset2.Fields.Item("Percentage").Value)%></font></div></td>
                                    <td width="0"><div align="center"><font color="#000000" size="1" face="Arial, Helvetica, sans-serif"><%=(Recordset2.Fields.Item("carriers").Value)%></font></div></td>
                                    <td width="0"><div align="center"><font color="#000000" size="1" face="Arial, Helvetica, sans-serif"><%=(Recordset2.Fields.Item("topcarrier").Value)%></font></div></td>
                                    <td width="1%"><div align="center"><font color="#000000" size="1" face="Arial, Helvetica, sans-serif">VIEW</font></div></td>
                                </tr>
                                                      <tr bgcolor="#000000">
                                                        <td height="10" colspan="9"><div align="right"><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif"><em>A DEDICATED CARRIER DEDICATED TO SERVICE...</em> </font></div></td>
                                                  </tr>
                                <% End If ' end Not Recordset2.EOF Or NOT Recordset2.BOF %>
                                <%
  Repeat1__index=Repeat1__index+1
  Repeat1__numRows=Repeat1__numRows-1
  If rowcolor = 0 then
        rowcolor = 1
      else
            rowcolor = 0
            end if
  Recordset2.MoveNext()
Wend
%>

                                                            </table></td>
                            </tr>
                          </table>
                        <!-- InstanceEndEditable --></td>
                      </tr>
                    </table></td>
                </tr>
                <tr bgcolor="#B71220">
                  <td height="7" colspan="4" align="left" valign="top"></td>
                </tr>
              </table></td>
          </tr>
          <tr>
            <td height="35" bgcolor="#000000"> <div align="center"><font color="#FFFFFF" size="1" face="Arial, Helvetica, sans-serif">&copy;
                2003 FirstFleet, Inc. - 202 Heritage Park Dr. - Murfreesboro,
                TN 37129<br>
                phone: 615.890.9229 - fax: 615.895.5288</font></div></td>
          </tr>
        </table></td>
    </tr>
  </table>
</div>
</body>
<!-- InstanceEnd --></html>
<%
Recordset1.Close()
Set Recordset1 = Nothing
%>
<%
Recordset2.Close()
Set Recordset2 = Nothing
%>
0
 
LVL 2

Expert Comment

by:anthony_castillon
ID: 9916887
Try it with the cellpadding of the inner table set to 0.
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9917113
Just do this:

<form style="display:inline;"...
0
 
LVL 31

Accepted Solution

by:
seanpowell earned 125 total points
ID: 9917121
Since you have multiple forms, you can also do it in a stylsheet in the head section for the whole page at once:

<head>
<style type="text/css">
<!--
form { display:inline; }
//-->
</style>
0
 
LVL 1

Author Comment

by:NTGuru705
ID: 9917185
Great.. the inline did it... ; )

Can you tell me what this actually does?  I see that it worked but where can I find more information about what t actually does?

Thanks for your help.
0
 
LVL 31

Expert Comment

by:seanpowell
ID: 9917293
Yes - let me see if I can find a better reference for you than this:
http://www.w3.org/TR/REC-CSS2/visuren.html#display-prop

Which can get confusing...

but basically, it removes the margins and padding from the element by not creating a block around it.

You can test this by using this - with the same effects:

<head>
<style type="text/css">
<!--
form { margin:0px; padding:0px; }
//-->
</style>
0
 
LVL 1

Author Comment

by:NTGuru705
ID: 9917476
Great... got it... thank you for your help.. both of you.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

809 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