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, [EMAIL PROTECTED] on 10/23/2001



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to