View Full Version : HTML ( FORM ) gives extra new line .. HELP !!
prem
January 16th, 2001, 09:38
Pls look at the page http://www.silchar.com/silchartry.html
On the right hand side , under the Silcharites Online section, there are two forms .. one submit says GO and the other says SEARCH .. but </form> introduces an extra new line which I want to avoid .. can you pls tell me how to remove the extra blank line between the two forms ..
---------------------------------------
Get in touch with all fellow Silcharites from Silchar and all over the globe.
Choose the locality and GO !!
[OPTIONS] GO!!
EXTRA NEW LINE <----
[INPUT TEXTBOX] SEARCH
--------------------------------------
Thanks in advance ..
Regards
Deb
Chicken
January 16th, 2001, 23:17
NOTE TO MEMBERS: Page must have been removed... 404.
prem
January 16th, 2001, 23:56
Sorry for the trouble I renamed the file to index.html and so you cud not find it ..
the file is : http://www.silchar.com ..
and the problem is :
On the right hand side , under the Silcharites Online section, there are two forms .. one submit says GO and the other says SEARCH .. but </form> introduces an extra new line which I want to avoid .. can you pls tell me how to remove the extra blank line between the two forms ..
---------------------------------------
Get in touch with all fellow Silcharites from Silchar and all over the globe.
Choose the locality and GO !!
[OPTIONS] GO!!
EXTRA NEW LINE <----
[INPUT TEXTBOX] SEARCH
--------------------------------------
Regards
Deb
JoeRiker
October 11th, 2005, 02:32
Hi Prem your post is pretty old, but looking your page (to see if you solved somehow the problem) i see you still have the newline between the two <form> objects, well i worked around the problem and found a solution you may find useful.
Actually it is not a Newline, the form object have the bad behaviour of creating itself (probably browser dependant problem, i cannot check 'cause i work ONLY with MSIE) with a 15/20 point border (or margin, or call as you like)
so you can kill this bad habit of its just restyling the form object:
<form style="{ MARGIN-LEFT: 0pt; MARGIN-RIGHT: 0pt; MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0pt; }" action="thereceivingpage.asp" name="myform" method=POST>
I think just style="{ MARGIN-TOP: 0pt; MARGIN-BOTTOM: 0pt; }"
is enough...
anyway with the first statement i solved the problem.....
bye
Alex
Powered by vBulletin® Version 4.1.7 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.