Solved

Extra line inserted

Posted on 2000-04-14
10
178 Views
Last Modified: 2011-09-20
The following code will insert a blank line.  How do I prevent this from happening?

<FORM NAME="reloadlogin">
<INPUT TYPE="hidden" NAME="x" SIZE="0">
<INPUT TYPE="hidden" NAME="y" SIZE="0">
</FORM>
</body>
0
Comment
Question by:fallon12345
  • 4
  • 3
  • 3
10 Comments
 
LVL 16

Expert Comment

by:maneshr
ID: 2717414
where does it insert a blank line?? can you provide the complete HTML file??
i copied and pasted your code and saw the same in NS and it just showed me a blank page!!


0
 
LVL 1

Author Comment

by:fallon12345
ID: 2717441
basically the hidden fields are creating a blank line, so if you put text above the form and below the form the blank line will appear between my first and last names.  I need to get rid of that blank line, but need to keep the hidden text boxes.

<html>
<head>
<title>Summary</title>
<BODY>
Mike
<FORM NAME="reloadlogin">
<INPUT TYPE="hidden" NAME="x" SIZE="0">
<INPUT TYPE="hidden" NAME="y" SIZE="0">
</FORM>
Fallon
</body>
</html>

0
 
LVL 11

Expert Comment

by:thunderchicken
ID: 2717490
<html>
<head>
<title>Summary</title>
<BODY>
Mike
<FORM NAME="reloadlogin" style="margin-top: 0; margin-bottom: 0">
<INPUT TYPE="hidden" NAME="x" SIZE="0">
<INPUT TYPE="hidden" NAME="y" SIZE="0">
</FORM>
Fallon
</body>
</html>
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 1

Author Comment

by:fallon12345
ID: 2717505
Thunderchicken,
Is this supported in IE4, NN4+?
Mike
0
 
LVL 11

Expert Comment

by:thunderchicken
ID: 2717525
IE 5.0, yes
netscape 4.7 no...

I'll play around with netscape and see if I can come up with something...

those are the only two browsers I have available right now but I assume so (?)
0
 
LVL 16

Expert Comment

by:maneshr
ID: 2717527
checked. does not work in NS4.x!!
0
 
LVL 11

Accepted Solution

by:
thunderchicken earned 50 total points
ID: 2717589
<BODY>
<p style="line-height: 100%; margin-top: 0; margin-bottom: 0">
Mike</p>
<FORM NAME="reloadlogin" style="line-height: 0; margin-top: 0; margin-bottom: 0">
<INPUT TYPE="hidden" NAME="x" SIZE="0">
<INPUT TYPE="hidden" NAME="y" SIZE="0">
</FORM>
<p style="line-height: 100%; margin-top: 0; margin-bottom: 0">
Fallon</p>
</body>
</html>  

It worked on mine....

both of them, looks ugly but oh well  :)
0
 
LVL 16

Expert Comment

by:maneshr
ID: 2717624
WOW!!

i works in NS4.x!!

thunderchicken, you are cococooool  :-)

Have a nice weekend.
0
 
LVL 11

Expert Comment

by:thunderchicken
ID: 2717630
thanks  :)
i just usually pull my ASP scripts into frontpage 2000 and usually you can format most stuff in there.. that was what i did with that, oh well, have a good weekend too...
0
 
LVL 1

Author Comment

by:fallon12345
ID: 2717666
Thats odd, your first answer worked on my netscape 4.7

oh well, thanks for the help guys.
Have a good weekend as well.
Mike
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article discusses four methods for overlaying images in a container on a web page
This article discusses how to create an extensible mechanism for linked drop downs.
In this tutorial viewers will learn how to style transparent/translucent elements using alpha transparency in CSS Start with a normal styled element, such as a div.: Define its "background-color" property as "rgba (255, 255, 255, .5): The numbers in…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question