Solved

Extra line inserted

Posted on 2000-04-14
10
176 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
 
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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Text in block not displaying properly 2 33
Issue in webpage 6 34
FIELDSETs and LEGENDs in email markup 1 13
Wrapper for APPs 9 35
Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
Use these top 10 tips to master the art of email signature design. Create an email signature design that will easily wow recipients, promote your brand and highlight your professionalism.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

920 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now