i have a code like :

<table width="242" cellpadding="0" cellspacing="0" class="Form">
      <tr>
       <td width="11" class="leftTopForm small">&nbsp;</td>
       <td width="174" class="centerTBForm small">&nbsp;</td>
       <td width="55" class="rightTopForm small">&nbsp;</td>
      </tr>
	  <tr>
       <td colspan="3" class="mainForm"><p>User :<br>
         <input type="text" name="textfield2">
       </p>
         <p>Password:
           <input type="password" name="textfield3">
           <br />
           <br />
           <a href="#"><img src="_images/submit.png" border="0"></a></p></td>
      </tr>
      <tr>
       <td class="leftbottomForm small">&nbsp;</td>
       <td class="centerTBForm small">&nbsp;</td>
       <td class="rightBottomForm small">&nbsp;</td>
      </tr>
     </table>

my question is how to make this table-less, because it semi table-css ..?
anyone can help me?

Recommended Answers

All 2 Replies

Hello, Here is a simple table less form

<form action="http://www.mywebsite.com" method="post">
	<div style="width: 35%;">
		<br />
		<span style="width: 20%;">User Id : </span>
		<span><input type="text" type="user_id"></span>
		
		<br />
		<span style="width: 20%;">Password : </span>
		<span><input type="password" name="user_id"></span>
		
		<br />
		<span style="width: 20%;"> &nbsp; </span>
		<span><input type="submit" name="submit" value=" Login "></span>
	</div>
</form>

<snipped>

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.