Web Development

General discussion


HTML Forms and IE

By SN_Web_Designer ·
I seem to have an issue when it comes to displaying forms in Internet Explorer. It seems that IE looks at the <form> and </form> tags as an opportunity to put white space above and/or below the form. I have tried everything I know of to get rid of this padding or white area but to no avail. It doesn't seem to be a problem in Netscape.

I hope this is enough information and I appreciate any responses.


This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

by SteveDave In reply to HTML Forms and IE

I have been able to avoid the white space in the past by putting the tags into places where space cannot be displayed.... for example, something like:

<FORM ... >

It may not be the cleanest solution, but it usually works for me

Collapse -

It worked. Thanks.

by SN_Web_Designer In reply to

I have been fighting with that for months but never thought of doing it that way. I had finally had enough and decided to post it here.

I really appreciate your input. Thanks.

Collapse -

Re: HTML Forms and IE

by frank_vollono In reply to

Hi, caught this question a little late, but in case you haven't found a solution you can try fixing the whitespace around forms with some CSS.


<style type="css">

form {padding: 0; margin: 0; border: 0}

That should make the extra space before and after the form disappear.

Frank Vollono

Related Discussions

Related Forums