The Damn <form> Line Return Issue

A

Augustus

Scott_From_PA said:
Has anyone figured out how to kill the line return that's created when
you insert a form?

form {

margin-bottom: 0px;
padding-top: 0px;

}

try:

margin-top:0px;

instead of padding-top:0px;
 
E

Els

Scott_From_PA said:
Has anyone figured out how to kill the line return that's
created when you insert a form?

form {

margin-bottom: 0px;
padding-top: 0px;

}

form{margin-bottom:0;}
 
S

Scott_From_PA

Has anyone figured out how to kill the line return that's created when
you insert a form?

form {

margin-bottom: 0px;
padding-top: 0px;

}


Arrrrg!
 
J

Jukka K. Korpela

Els said:
please ignore - I wasn't awake enough to see you already tried
that :\

Now we only need to see the OP's URL to find out what the real problem is.
So the problem will probably remain a mystery. Or does someone wish to try
and figure out the URL based on the alleged domain in OP's E-mail address,
noway.com?
 
E

Els

Jukka said:
Now we only need to see the OP's URL to find out what the
real problem is. So the problem will probably remain a
mystery. Or does someone wish to try and figure out the URL
based on the alleged domain in OP's E-mail address,
noway.com?

As far as the guessing game goes: I think he does mean the
infamous white space below a form (usually noticed when putting
a form inside a table cell), and that he made a minor mistake in
the CSS so that the margin-bottom:0 got ignored.

But again: just guessing :)
 
J

Jukka K. Korpela

Els said:
As far as the guessing game goes: I think he does mean the
infamous white space below a form (usually noticed when putting
a form inside a table cell), and that he made a minor mistake in
the CSS so that the margin-bottom:0 got ignored.

That would be my first guess too.

My second guess would be that in this case the form does not appear inside
a table cell but elsewhere. Then it has both a top margin and a bottom
margin by default, as you can see if you view a page containing

foo<form action="zap">bar</form>foo

For some odd reason, popular browsers by default suppress the top margin
but not the bottom margin.
 
K

Karl Core

Scott_From_PA said:
Thanks folks....

I've got two back to back deadlines coming up (web site jobs) and I'm
burning the candle on both ends.

If you don't know how to do simple things display a form inline, I recommend
passing on those website jobs to someone who knows WTF they're doing
 
S

Scott_From_PA

Thanks folks....

I've got two back to back deadlines coming up (web site jobs) and I'm
burning the candle on both ends.

I'll apply your suggestions and get back to you with a "Success" or
"Fail" replay as soon as I can.
 
K

Karl Core

Fred said:

Or just three - "Rock Star, baby!"

Oh wait, you were being sarcastic. You would be attempting to make an
implied claim that I couldn't possibly know what I'm talking about because
I'm covered in tattoos? Funny, that. While you're sitting here trying to cut
me down on my appearance, I'm making 3 figures an hour consulting for one of
the most important agencies in the US Government. Joke's on you, dick
 
S

Scott_From_PA

If you don't know how to do simple things display a form inline, I recommend
passing on those website jobs to someone who knows WTF they're doing


You seem like a person with good character.
What's your fee?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top