Solved

Extra line inserted

Posted on 2000-04-14
10
175 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
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Do you want to insert HTML5 video into your site? This is the tutorial how to do so. What are the main advantages of HTML5 video? 1) Have good compression, good image quality, and low decode processor use. 2) It is royalty-free 3) It is easi…
Things That Drive Us Nuts Have you noticed the use of the reCaptcha feature at EE and other web sites?  It wants you to read and retype something that looks like this.Insanity!  It's not EE's fault - that's just the way reCaptcha works.  But it is …
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 how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

708 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

13 Experts available now in Live!

Get 1:1 Help Now