div/table in a <form>

Asked By Laurent Modestil
08-Feb-10 10:48 AM
Earn up to 0 extra points for answering this tough question.
I have a "working" site that's connected to a database. I just want to change the looks of the page BUT I try to place a table in the who thing disappear. THIS IS WHAT I HAVE THAT WORKS:
<%@ import Namespace=System.Data %>
<%@ import Namespace=System.Data.SqlClient %>
<%@ import Namespace=System.Drawing %>
<%@ Page Language="C#" Debug="true" %>
<html>
<head>
<title>*********</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
</style>
</head>
<body>
<div id="page">
  <div>
    <div>
      <div>
        <table width="636" border="0">
          <tr>
            <td>
               <p>****CODE****</p>
            </td>
          </tr>
          <tr>
            <td><div align="center"><a href="****.html" class="btnContinue"></a> </div></td>
          </tr>
        </table>
      </div>
    </div>
  </div>

BUT if replace the "CODE" with <form runAT="server">****CODE****</form> everything is gone

  re: div/table in a <form>

Web Star replied to Laurent Modestil
08-Feb-10 10:59 AM

<form  is place just after body tag.

 

  re: re: div/table in a <form>

Laurent Modestil replied to Web Star
08-Feb-10 11:05 AM
Yeah I spoke too soon. I figured it out THANKS
Create New Account