RE: Forms and Netscape -- spacing problem -- Help!
| From: | Andrew Chase | Date: | Mon, 22 Oct 2001 16:20:16 +0000 |
| Subject: | RE: Forms and Netscape -- spacing problem -- Help! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-71841@lists.php.net to get a copy of this message | ||
It's almost certainly not W3C compliant, but if your form is inside a table
(I know, I know - you're not supposed to use tables for layout) you can hide
the <FORM> tags outside the <TD> tags of the cell containing the form: E.G.:
<table>
<tr>
<form action='somescript.php'>
<td>
<input type='text' name='input1'><br>
<input type='submit'>
</td>
</form>
</tr>
</table>
I've never had a problem with this workaround in IE/Netscape 4.x as long as
the tags are nested correctly. Not sure about Lynx/Konqueror/Opera.
I try whenever possible to follow the W3C's standards, but inconsistent
browser implementation of HTML and CSS usually gets in the way. :P
> -----Original Message-----
> Subject: Re: Forms and Netscape -- spacing problem -- Help!
> > form tag in NS (4x - 6x) there is some additional space
>