[thelist] Table cell woes in NS

rudy r937 at interlog.com
Tue Jul 3 22:17:58 CDT 2001


> http://www.acmp.com.au/ACMPTestpage-1.htm

hi tony

mmm, a liquid table problem, how can i resist...     ;o)

make the table 2 columns, not three, to get rid of the colspans

the first column has no width (the logo will keep it open), and the second
column has width=90%

  <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td><a href="index.shtml"><img
            src="images/acmpy.gif" width="144" height="46"
            class="navfont2" border="0"></a></td>
      <td width="90%" background="images/paneltop.gif"
          align="right"><!-- #BeginEditable "pagetopic" --><img
          src="images/membeno.gif" width="240" height="46"
       ><!-- #EndEditable --></td>
   </tr>

move the search box *into* the nested table in the second row, and don't
use divs just for alignment, do that in the td --

   <td bgcolor="#999999"><br />
   <form method="get" action="http://search.atomz.com/search/">
      <TABLE width="100%" border="0" cellpadding="0" cellspacing="5">
        <TR>
          <TD>
            <P class="small" > [snip] </TD>
          <td bgcolor="#99ff99" align="right">
            <input size=18 name="sp-q">
            <input type=submit value="Search this site" name="submit">
            <input type=hidden name="sp-a" value="sp1000dfd5">
          </td>
        </TR>
      </TABLE>
  </form>
  </td>

if you want the grey row shorter, move the <form>..</form> tags outside the
table

combine the three rows that made up the main area, thus eliminating the
rowspan


tested on netscape 4.74, works fine, let me know if you want me to shoot
you the source offlist


rudy






More information about the thelist mailing list