Jump to content

Closing Form without gap

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
Guest_NeedHelp_*

Guest_NeedHelp_*
  • Guests
When I close my form (</form) I get a new line after it. Is there anyway to close it without having a new line?

It looks like I placed a <br /> after the form closed....

#2
xXHalfSliceXx

xXHalfSliceXx

    Speaks fluent binary

  • Moderators
  • 1,694 posts
Web Authoring FAQ: HTML Forms (WDG)

Quote

10.4. How can I eliminate the extra space after a </form> tag?

HTML has no mechanism to control this. However, with CSS, you can set the margin-bottom of the form to 0. For example:

<form style="margin-bottom:0;" action=...>

You can also use a CSS style sheet to affect all the forms on a page:

form { margin-bottom: 0 ; }

Posted Image
Posted Image