Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML Form Tag and White Space

Status
Not open for further replies.

DigitalBoy

Programmer
Joined
Oct 11, 2000
Messages
87
Location
US
Does anyone know:

1) Why the HTML form tag adds extra white space around it.
2) How I can get rid of it.

Thanks in advance.

- DB dgtlby@excite.com
Administrator

UBB Developers Network

 
I don't know the answer to your first question but you can use CSS to get rid of it. In the form tag:

<FORM name=&quot;test&quot; action=&quot;test.html&quot; style=&quot;margin:0;&quot;>

Specifying margin:0 will eliminate all margins around the form. Hope this works out!

Andrew
amayer@sonic.net
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top