Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ARGH!!! can't get rid of extra line!! 3

Status
Not open for further replies.

cyprus106

Programmer
Apr 30, 2001
654
<tr>
<td width=&quot;136&quot; height=&quot;6&quot;>OEM</td>
<td width=&quot;454&quot; height=&quot;6&quot;>00+ Acura CL</td>
<td width=&quot;114&quot; height=&quot;6&quot; align=&quot;center&quot;>349.00</td>
<td width=&quot;102&quot; height=&quot;19&quot; align=&quot;center&quot;>
<form method=&quot;POST&quot; action=&quot;../cart.asp&quot; target='mycart'>
<input type='hidden' name='cmd' value='_cart'>
<input type='hidden' name='business' value='myemail@cynoptics.com'>
<input type='hidden' name='item_name' value='MY ITEM'>
<input type='hidden' name='item_number' value='CFH000'>
<input type='hidden' name='amount' value='524'>
<input type='hidden' name='return' value=' <input type='hidden' name='cn' value='Additional Information/Comments'>
<input type='hidden' name='currency_code' value='USD'>
<input type='hidden' name='add' value='1'>
<center><input type='image' border=&quot;0&quot; src=&quot;images/addcart_s.jpg&quot; name='submit' alt='Add to Cart'></center>
</form>
</td>
</tr>

Cyprus
 
or...

<form>
<table>
<tr>
<td> lotsa stuff</td>
</tr>
</table>
</form>

...or...

<form style=&quot;display:inline;&quot;>
 
Mr3Putt is Correct with <form style=&quot;display:inline;&quot;>

This is a violation of almost every html / xhtml version, for those of us the think what the w3c does is at least somewhat important. ;)

<form>
<table>
<tr>
<td> lotsa stuff</td>
</tr>
</table>
</form>




 
Adding this to your CSS is the quickest way to hit every form so you dont miss any sometimes.

FORM{display:inline;}

 
imstillatwork ,

are you saying that this:

<form>
<table>
<tr>
<td> lotsa stuff</td>
</tr>
</table>
</form>

violates xhtml? why?



=========================================================
try { succeed(); } catch(E) { tryAgain(); }
-jeff
 
<form>
<table>
<tr>
<td> lotsa stuff</td>
</tr>
</table>
</form>

violates xhtml? why?

=========================

no, and i HATE not having an edit button.
the 'traditional way' of hiding the form in between td and tr or table and tr is a violation of almost every version of html. thats the one I wanted to post. but on reading this thread again, noticed that it was covered already.

we realy need edit-ability here at tek-tips.



 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top