Computer Hope

Internet & Networking => Web design => Topic started by: zahid on November 29, 2008, 07:16:14 AM

Title: How to use HTML table like forms
Post by: zahid on November 29, 2008, 07:16:14 AM
It is possible to call other form in a table when you clink the link?

HELP ME Please.

it is my code,



<html>
<head>
<title>zahid_art</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<div align="center">
  <TABLE WIDTH=766 BORDER=0 CELLPADDING=0 CELLSPACING=0>
    <TR>
      <TD ROWSPAN=9 bgcolor="#000000">&nbsp; </TD>
      <TD COLSPAN=6 bgcolor="#000000"> <p>&nbsp;</p>
        <p>&nbsp;</p></TD>
      <TD ROWSPAN=9 bgcolor="#000000">&nbsp; </TD>
    </TR>
    <TR>
      <TD colspan="6" bgcolor="#9966FF">&nbsp; </TD>
    </TR>
    <TR>
      <TD COLSPAN=2 bgcolor="#9999FF"></TD>
      <TD COLSPAN=2 bgcolor="#9999FF"></TD>
      <TD COLSPAN=2 ROWSPAN=5> <div align="center">
          <p>&nbsp;</p>
          <p>&nbsp;</p>
          <p>How i open Home, About Us &amp; Contect in his area but when i click
            then button then open. </p>
          <p>Its not a frames it is a table so how is possible to do it</p>
          <p>&nbsp;</p>
          <p>&nbsp;</p>
          <p>&nbsp;</p>
          <p>&nbsp;</p>
        </div></TD>
    </TR>
    <TR>
      <TD COLSPAN=2 bgcolor="#9966FF">&nbsp; </TD>
      <TD COLSPAN=2 bgcolor="#9966FF">&nbsp;</TD>
    </TR>
    <TR>
      <TD COLSPAN=2 bgcolor="#0000FF">&nbsp; </TD>
      <TD COLSPAN=2 bgcolor="#0000FF">&nbsp;</TD>
    </TR>
    <TR>
      <TD COLSPAN=2 bgcolor="#9966FF"></TD>
      <TD COLSPAN=2 bgcolor="#0000FF"></TD>
    </TR>
    <TR>
      <TD COLSPAN=2>
   
          <input type="submit" name="home" value="Home"style="width: 110px"/>
     
   


          <input type="submit" name="about" value="About Us" style="width: 110px"/>
       
       


     
          <input type="submit" name="Contect" value="Contect"style="width: 110px"/>
   

      <TD COLSPAN=2 bgcolor="#9999FF">&nbsp; </TD>
    </TR>
    <TR>
      <TD COLSPAN=6 bgcolor="#9999FF">&nbsp; </TD>
    </TR>
    <TR>
      <TD COLSPAN=6 bgcolor="#000000">&nbsp; </TD>
    </TR>
    <TR>
      <TD> <IMG SRC="images/spacer.gif" WIDTH=42 HEIGHT=1 ALT=""></TD>
     
    </TR>
  </TABLE>
</div>
</body>
</html>


Zahid From Pakistan

Title: Re: How to use HTML table like forms
Post by: soybean on November 29, 2008, 10:45:20 AM
Seems like you need frames to do what you want.  Are you trying to avoid using frames?  I don't believe you can do what you want only using tables.
Title: Re: How to use HTML table like forms
Post by: ChrisXPPro on November 30, 2008, 10:29:25 AM
Not totally clear on your objective but - you can set up a form field within a table cell.

If you want a link to take folks to a form field then perhaps write the form in a new html page - and call that page with a winopen to bring it up as an entity.

Expand further on what you want to do if possible.