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!

Padding in a form

Status
Not open for further replies.

TheConeHead

Programmer
Aug 14, 2002
2,106
US
I know it was here recently but I can not find it in the archives... how do you take out the padding a <form> creates?

[conehead]
 
You mean the bottom margin? I found the easiest way to add display: inline; to its style.
 
Hi Conehead, do you have some code to post? Are you using tables? Because I know that the position of <form> tag relative to <table> elements can have some effect...
 
Vragabond is, as usual, absolutely correct.
Code:
<form id=&quot;form1&quot; action=&quot;mypage.htm&quot; style=&quot;display:inline;&quot;>
..that's the way to go.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top