| 
 Posted by Jedi Fans on 07/24/05 17:59 
Krycek wrote: 
> I want to create form that will take one row of a table. I use it with  
> PHP  script whith taking data from database and should create something  
> like  this: 
>  
> <table> 
> <tr><th>Col name1</th><th>Col name2</th><th>Col   
> name3</th><th>Options</th></tr> 
> <!-- First row --> 
> <form><tr><td><input ... /></td><td><input ... /></td><td><input ...   
> /></td><td><input type="submit" name="action" value="Save" /><input   
> type="submit" name="action" value="Delete" /></td></tr></form> 
> <!-- Second row --> 
> <form><tr><td><input ... /></td><td><input ... /></td><td><input ...   
> /></td><td><input type="submit" name="action" value="Save" /><input   
> type="submit" name="action" value="Delete" /></td></tr></form> 
>  
> ... 
> </table> 
>  
> But when I generate code like above Opera adds break line before table  
> for  every </form> tag so if I have a lot of rows table isn't in top of  
> page.  Also code like above is not valid HTML 4.01 Transitional  
> (acording to W3  org validator). 
> When I delete </form> tag from source everything is ok (but of course  
> code  still is not valid). 
>  
> Does enyone know how I should resolve that problem? It is important to  
> me  to generate valid HTML 4.01 Transitional code. 
>  
> Thanx for help. 
>  
<style type="text/css"><!-- 
form{margin:0;} 
//--></style>
 
  
Navigation:
[Reply to this message] 
 |