< Back

Document Subject: Stop extra line after form tag
Hint Short Cut: Add this to your code & documentation to help you find this page.
http://#StopSpaceAfterForm or http://A555F9/nn.nsf/ByAlias/StopSpaceAfterForm

If I add an extra form to  a web page to add an easy search function, there is a gap after the closing from tag. Here's how to solve it...




Stylesheets is the answer.

In the form tag put in some inline style sheet stuff.

If your form tag is:

<FORM  METHOD="POST" ACTION="http://swapstick.com/swaps.nsf/albums+list?SearchView&searchfuzzy=true">;

add in some inline style to stop the extra space:  style="padding:0; margin:1; display:inline;"

<FORM style="padding:0; margin:1; display:inline;" METHOD="POST" ACTION="http://swapstick.com/swaps.nsf/albums+list?SearchView&searchfuzzy=true">;

Styke sheets strike again.