Re: Re: Forms and Netscape -- spacing problem -- Help!

From: Date: Tue, 23 Oct 2001 23:52:13 +0000
Subject: Re: Re: Forms and Netscape -- spacing problem -- Help!
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-72023@lists.php.net to get a copy of this message
On Wed, 24 Oct 2001 09:14:07 +1000, James Cave wrote: > >> if your form is inside a table .. hide the <FORM> tags > >In my experience, this just "moves" the closing whitespace to the >end of >the table (just like if you insert text incorrectly between a <tr> >and a ><td>). > >The previous post I've made using the "display: inline;" style is in >fact W3C compliant. > I thought you might be onto something and I've always had problems with this so I gave it a try. NN4.7 and 6.1 both ignored the 'display: inline' css in my test and showed the whitespace. It may be compliant but it doesn't really work as well as hiding the form tags between table rows or cells. here's the test I used: <table bgcolor=red><tr><form><td>form tag outside of cell</td></form></tr></table> <table bgcolor=red><tr><form><td>form tag outside of cell</td></form></tr></table> <table bgcolor=red><tr><form><td>form tag outside of cell</td></form></tr></table> <table bgcolor=blue><form><tr><td>form tag outside of row</td></tr></form></table> <table bgcolor=blue><form><tr><td>form tag outside of row</td></tr></form></table> <table bgcolor=blue><form><tr><td>form tag outside of row</td></tr></form></table> <form style="display: inline"><table bgcolor=green><tr><td>inline css</td></tr></table></form> <form style="display: inline"><table bgcolor=green><tr><td>inline css</td></tr></table></form> <form style="display: inline"><table bgcolor=green><tr><td>inline css</td></tr></table></form> -- Mark, maggelet@mminternet.com on 10/23/2001

« previous php.general (#72023) next »