|
-
Nov 17th, 2000, 09:56 AM
#1
Thread Starter
Member
Any one got any ideas why i'm getting a blank space under my form (a simple text box and submit button), there is no <BR> or anything ... it's driving me nuts ! Here is a code sinppet :
<td bgcolor="#0052BD" width="100%" height="36" colspan="2" valign="middle">
<form method="get" action="http://search.atomz.com/search/">
<p>
<font face="Arial, Helvetica, sans-serif" size="1">
<b><font color="#FFFFFF"> Search for:</font></b> <input size=30 name="sp-q" style="font-family: Arial; font-size: 8pt">
<input type=submit value="Search" style="font-family: Arial; font-size: 8pt; font-weight: bold"></font><input type=hidden name="sp-a" value="">
</p>
<input type=hidden name="sp-p" value="any"
<input type=hidden name="sp-w-control" value=1>
<input type=hidden name="sp-w" value="alike">
<input type=hidden name="sp-m" value=1><font face="Arial, Helvetica, sans-serif" size="1"><input type=hidden name="sp-k" value=""><input type=hidden name="sp-c" value=10></font>
</form>
</td>
-
Nov 17th, 2000, 09:59 AM
#2
Frenzied Member
Don't specify height on your TD. It will size itself to fit the contents unless you NEED it bigger than the contents.
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
-
Nov 17th, 2000, 10:03 AM
#3
Thread Starter
Member
Nope did'nt make any difference, there just seems to be an extra space just like there is a <br> there or soemthing but there is'nt ... very odd. It's happend before if i remember correctly, it seems to be related to the form in some way.
Ian.
-
Nov 17th, 2000, 10:17 AM
#4
I've had this problem too. Forms seem to pad themselves if they are not inside some other formatted element like a paragraph. One way to get rid of the 'space' is by using styles, for example:
<FORM STYLE="{ margin: 0px; }">
Paul
-
Nov 17th, 2000, 02:23 PM
#5
Frenzied Member
Make sure you specify in your table tag's attributes:
cellspacing=0 cellpadding=0
If you don't it will pad the cells. You didn't post your table tag before, but that could be the problem as well.
oOOo--oOOo
__ /\/\onte96
oOOo--oOOo
Senior Programmer/Analyst
MCP
[email protected]
[email protected]
Your results may vary.. some restrictions may apply.. pricing and participation may vary.. not available in all states.. professional driver closed course..quantities limited..
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|