473,320 Members | 1,977 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

How do I remove the new line after </form>

How do I remove the new line after </form>

It looks very bad in my HTML, as each <form></form> will create a new
line after the block of </form>

Is there a way for me to remove it?
Jul 23 '05 #1
12 3194
Els
Someone wrote:
How do I remove the new line after </form>

It looks very bad in my HTML, as each <form></form> will
create a new line after the block of </form>

Is there a way for me to remove it?


It's not a new line, it's a bottom-margin or -padding.
Set it to 0 :-)

--
Els
http://locusmeus.com/
Sonhos vem. Sonhos vão. O resto é imperfeito.
- Renato Russo -
Jul 23 '05 #2
On 20 Sep 2004 23:16:13 -0700, i6*****************@yahoo.com.cn wrote:
How do I remove the new line after </form>


<head>
....
<style 'type=text/css'>
form {
display: inline;
}
</style>
</head>
....

Please note that alt.html is not one of the big 8
valid groups, and the help you get there is less
likely to be corect then you might find at
comp.infosystems.www.authoring.html

Follow Up's set to the only valid group on your
cross-post. c.l.js.

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.lensescapes.com/ Images that escape the mundane
Jul 23 '05 #3
Andrew Thompson wrote:
On 20 Sep 2004 23:16:13 -0700, i6*****************@yahoo.com.cn wrote:
How do I remove the new line after </form>


Follow Up's set to the only valid group on your
cross-post. c.l.js.


The question has nothing to do with JavaScript. Surely alt.html is more
valid than a newsgroup where the subject mater is off-topic, regardless
of being in the big 8?
Jul 23 '05 #4
On Tue, 21 Sep 2004 07:48:43 GMT, Andrew Thompson <Se********@www.invalid>
wrote:

[snip]
<style 'type=text/css'>
Perhaps you mean type='text/css'

[snip]
Please note that alt.html is not one of the big 8
valid groups, and the help you get there is less
likely to be corect then you might find at
comp.infosystems.www.authoring.html


Umm. Rather you saying that than me, Andrew. The validity of alt.html's
existence aside, most of the regular posters to ciwah also post in ah.

Out of interest, what's this "big 8" you refer to? I thought it was a
character encoding (or is that Big-5?)

[snip]

Mike

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Jul 23 '05 #5
On Tue, 21 Sep 2004 04:25:13 -0400, Leif K-Brooks wrote:
Andrew Thompson wrote:

...
Follow Up's set to the only valid group on your
cross-post. c.l.js.


The question has nothing to do with JavaScript. Surely alt.html is more
valid than a newsgroup where the subject mater is off-topic, regardless
of being in the big 8?


(ehhh, shrugs) Good point, but added to my reasons
for not sending it to alt.html is that
a) I do not read it (or any other than big 8 groups for that matter)
b) My news-reader whines at me when I post to groups not carried by
my local server.

So, ..yes, it's more valid, but the OP can make a new
post (preferebly to the valid HTML group) if they feel
that strongly about it. ;-)

[ Follow-ups, *again* set to c.l.js*, please inform
the readers when you intend to alter the follow-ups
to a specific or different group. ]

* Note that this aspect of the thread no longer has
anything to do with either JS *or* HTML.

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.lensescapes.com/ Images that escape the mundane
Jul 23 '05 #6
On Tue, 21 Sep 2004 08:29:44 GMT, Michael Winter wrote:
On Tue, 21 Sep 2004 07:48:43 GMT, Andrew Thompson wrote:

[snip]
<style 'type=text/css'>
Perhaps you mean type='text/css'


....errr, yeah, ..maybe. ;)
[snip]
Please note that alt.html is not one of the big 8
valid groups, and the help you get there is less
likely to be corect then you might find at
comp.infosystems.www.authoring.html
Umm. Rather you saying that than me, Andrew. The validity of alt.html's
existence aside, most of the regular posters to ciwah also post in ah.


Never let the truth get in the way of a good story, Mike!
(My excuse/question, apart from the above is.. on which
group do you get a higher S/N ratio?*)
Out of interest, what's this "big 8" you refer to? I thought it was a
character encoding (or is that Big-5?)


I am afraid I know little more than that the original
groups were defined under 8 categories, (to prevent a
plethora of different naming conventions perhaps?),
and each group went through -some- form of vetting
and approval process (as I understand, it was mostly
votes from potential posters).

* My overall view is that while you might find good advice
in the 'alt' groups, you are also more likely to get long
posts from people claiming that the web-pages they are
viewing are beaming secret messages into their subconscious.

Of course, you know more about the 'alt' groups than I,
so I would be interested to hear your assessment of them.

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.lensescapes.com/ Images that escape the mundane
Jul 23 '05 #7
Andrew Thompson <Se********@www.invalid> wrote:
Good point, but added to my reasons
for not sending it to alt.html is that
a) I do not read it


Thank you. This is sufficient information for ignoring you for some time
until we can check whether you wish to work constructively on Usenet.
If you work by your convenience against newsgroup charters and policies,
we have a good reason to killfile you for _our_ convenience.

I would have sent this friendly note by E-mail only, but you are using an
incorrect From field.

Note followups.

P.S. Your advice on setting display: inline in order to remove "new line"
(i.e. bottom margin) without warning what _other_ effects it has
was rather pointless. Virtually all HTML FAQs contain the proper answer
these days.

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html
Jul 23 '05 #8
On Tue, 21 Sep 2004 09:39:47 GMT, Andrew Thompson <Se********@www.invalid>
wrote:

[snip]
Never let the truth get in the way of a good story, Mike!
Ever so sorry! :P
(My excuse/question, apart from the above is.. on which
group do you get a higher S/N ratio?*)
Probably ciwah, but the focus is different.

[snip]
* My overall view is that while you might find good advice
in the 'alt' groups, you are also more likely to get long
posts from people claiming that the web-pages they are
viewing are beaming secret messages into their subconscious.
LOL
Of course, you know more about the 'alt' groups than I,
What on Earth gave you that idea?
so I would be interested to hear your assessment of them.


I don't have much of an opinion on alt.* groups, except that the alt.*
hierarchy seems to be a dumping ground for any random group that someone
can think up and have added. However, as I said above, there is a
difference in purpose between ah and ciwah (which I assume you know, but
I'll state anyway).

The *only* focus of ciwah is authoring for the Web. A recent example of
the implications of that is Matt Kruse's post regarding shading alternate
table rows[1]. This particular "solution" (as Matt described it) provided
functionality for IE only. Whilst it had its merits, the fact that it had
no application for the Web as a whole meant it shouldn't have appeared in
the ciwa.* hierarchy, and Matt was subsequently berated.

ah has no such restrictions. In fact, the ah FAQ
(<URL:http://www.html-faq.com/>) states that questions regarding related
topics such as CGI, stylesheets, and Javascript are as welcome as those on
HTML.

Oddly enough, I just noticed this in the FAQ:

"This group was neither proposed nor discussed on alt.config. If it
had been, the proponent would have first been directed to the alt
creation guidelines where he could learn why the name is so poor.
Then he would have been directed to the comp.infosystems.www.*
hierarchy, where there are many groups on this topic, including one
specifically devoted to writing HTML."

Seems you're right about the illegitimacy.

Mike
[1] This actually went to ciwas, but the reason for the inappropriate
location was the same.

--
Michael Winter
Replace ".invalid" with ".uk" to reply by e-mail.
Jul 23 '05 #9
On Tue, 21 Sep 2004 10:29:03 GMT, Michael Winter wrote:
On Tue, 21 Sep 2004 09:39:47 GMT, Andrew Thompson wrote: ...
Of course, you know more about the 'alt' groups than I,


What on Earth gave you that idea?


You read (at least) one of them. Beats me by (at least) 1.
Seems you're right about the illegitimacy.


Yeah.. but I suppose that makes precious little difference
to those who post questions, so long as they get their answer.

--
Andrew Thompson
http://www.PhySci.org/codes/ Web & IT Help
http://www.PhySci.org/ Open-source software suite
http://www.1point1C.org/ Science & Technology
http://www.lensescapes.com/ Images that escape the mundane
Jul 23 '05 #10
> So, ..yes, it's more valid, but the OP can make a new
post (preferebly to the valid HTML group) if they feel
that strongly about it. ;-)
Multiposting is bad, n'kay?
* Note that this aspect of the thread no longer has
anything to do with either JS *or* HTML.


Then maybe you should stop adding non-relevant comments to the on topic
posts?
Jul 23 '05 #11
Andrew Thompson <Se********@www.invalid> wrote in
news:1v***************************@40tude.net:
(My excuse/question, apart from the above is.. on which
group do you get a higher S/N ratio?*)


Currently? The one(s) you post to, or so it seems :-(

--
John MexIT: http://johnbokma.com/mexit/
personal page: http://johnbokma.com/
Experienced programmer available: http://castleamber.com/
Happy Customers: http://castleamber.com/testimonials.html
Jul 23 '05 #12
JRS: In article <1v***************************@40tude.net>, dated Tue,
21 Sep 2004 09:39:47, seen in news:comp.lang.javascript, Andrew Thompson
<Se********@www.invalid> posted :

* My overall view is that while you might find good advice
in the 'alt' groups, you are also more likely to get long
posts from people claiming that the web-pages they are
viewing are beaming secret messages into their subconscious.

Alt groups vary. I read several; they are as good as corresponding Big-
8 groups (except that there's slightly more spam-to-all-groups, easily
ignored).

I don't know news:alt.html at all.

In news:c.i.w.a.*, IMHO, most of the regulars would concentrate on
criticising the original question.

--
© John Stockton, Surrey, UK. ??*@merlyn.demon.co.uk Turnpike v4.00 MIME. ©
Web <URL:http://www.merlyn.demon.co.uk/> - FAQish topics, acronyms, & links.

In MS OE, choose Tools, Options, Send; select Plain Text for News and E-mail.
Jul 23 '05 #13

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Domestos | last post by:
Hi all - please help... using <FORM> HTML tag for user input and need to get get data from it and store in php variable... <input type="text" name="user_name" size="18" maxlength="16"...
4
by: fis | last post by:
Hi all, I've problem because there are needed break lines in my texts on the web site but i can't do it :( My pipeline looks like: XMS -> I18N -> XSLT -> HTML I have lot of texts in my...
3
by: Ben | last post by:
Here's my form: <form name="aForm" method='post'> <input type=file name=file1 onkeypress='KeyPress()'><br> <a id='attachMoreLink' href='javascript:AddFileInput()">Attach More Files </a> <input...
10
by: Phlip | last post by:
HTMListas: (Apologies for I can't Google for this - too many common words.) I have a <form> tag. It thinks I want a <p> break before and after the form. I don't. (My forms are sneaky and...
19
by: Wouter | last post by:
Hi, I try to make when i send a <form> that he dont open a new window. Is there someone who know how i can make this whit javascript ? Greets Wouter
6
by: snacktime | last post by:
I've searched and searched and have not found a solution to suppress the margin on form or href tags so that there is no space before or after the tag. The only way I have found to do this is to...
4
by: rob c | last post by:
This is a minor thing and only appears in IE (so far), but I'd like to know to correct it (if possible). Whenever I use a form on a webpage, Explorer always leaves a blank line following the...
5
by: shotokan99 | last post by:
for instance i do have this element but i dont have a <form>: <input type="Text" name="myname" id="myname" size="30"...> then i have this link: echo'<a...
2
by: Mike P | last post by:
Can you have 2 submit buttons in one <formelement? I have a form with a few dropdowns and textboxes that has a submit button to write the data to a database, but I also need a submit button next...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.