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

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • i6033162556-signup1@yahoo.com.cn

    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?
  • Els

    #2
    Re: How do I remove the new line after &lt;/form&gt;

    Someone wrote:
    [color=blue]
    > 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?[/color]

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

    --
    Els
    Blog and other pages, mostly outdated.

    Sonhos vem. Sonhos vão. O resto é imperfeito.
    - Renato Russo -

    Comment

    • Andrew Thompson

      #3
      Re: How do I remove the new line after &lt;/form&gt;

      On 20 Sep 2004 23:16:13 -0700, i6033162556-signup1@yahoo.c om.cn wrote:
      [color=blue]
      > How do I remove the new line after </form>[/color]

      <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.infosystem s.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

      Comment

      • Leif K-Brooks

        #4
        Re: How do I remove the new line after &lt;/form&gt;

        Andrew Thompson wrote:[color=blue]
        > On 20 Sep 2004 23:16:13 -0700, i6033162556-signup1@yahoo.c om.cn wrote:
        >[color=green]
        >>How do I remove the new line after </form>[/color]
        >
        > Follow Up's set to the only valid group on your
        > cross-post. c.l.js.[/color]

        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?

        Comment

        • Michael Winter

          #5
          Re: How do I remove the new line after &lt;/form&gt;

          On Tue, 21 Sep 2004 07:48:43 GMT, Andrew Thompson <SeeMySites@www .invalid>
          wrote:

          [snip]
          [color=blue]
          > <style 'type=text/css'>[/color]

          Perhaps you mean type='text/css'

          [snip]
          [color=blue]
          > 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.infosystem s.www.authoring.html[/color]

          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.

          Comment

          • Andrew Thompson

            #6
            Re: How do I remove the new line after &lt;/form&gt;

            On Tue, 21 Sep 2004 04:25:13 -0400, Leif K-Brooks wrote:
            [color=blue]
            > Andrew Thompson wrote:[/color]
            ...[color=blue][color=green]
            >> Follow Up's set to the only valid group on your
            >> cross-post. c.l.js.[/color]
            >
            > 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?[/color]

            (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

            Comment

            • Andrew Thompson

              #7
              Re: How do I remove the new line after &lt;/form&gt;

              On Tue, 21 Sep 2004 08:29:44 GMT, Michael Winter wrote:[color=blue]
              > On Tue, 21 Sep 2004 07:48:43 GMT, Andrew Thompson wrote:
              >
              > [snip][color=green]
              >> <style 'type=text/css'>[/color]
              >
              > Perhaps you mean type='text/css'[/color]

              ....errr, yeah, ..maybe. ;)
              [color=blue]
              > [snip][color=green]
              >> 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.infosystem s.www.authoring.html[/color]
              >
              > 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.[/color]

              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?*)
              [color=blue]
              > Out of interest, what's this "big 8" you refer to? I thought it was a
              > character encoding (or is that Big-5?)[/color]

              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

              Comment

              • Jukka K. Korpela

                #8
                Re: How do I remove the new line after &lt;/form&gt;

                Andrew Thompson <SeeMySites@www .invalid> wrote:
                [color=blue]
                > Good point, but added to my reasons
                > for not sending it to alt.html is that
                > a) I do not read it[/color]

                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


                Comment

                • Michael Winter

                  #9
                  Re: How do I remove the new line after &lt;/form&gt;

                  On Tue, 21 Sep 2004 09:39:47 GMT, Andrew Thompson <SeeMySites@www .invalid>
                  wrote:

                  [snip]
                  [color=blue]
                  > Never let the truth get in the way of a good story, Mike![/color]

                  Ever so sorry! :P
                  [color=blue]
                  > (My excuse/question, apart from the above is.. on which
                  > group do you get a higher S/N ratio?*)[/color]

                  Probably ciwah, but the focus is different.

                  [snip]
                  [color=blue]
                  > * 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.[/color]

                  LOL
                  [color=blue]
                  > Of course, you know more about the 'alt' groups than I,[/color]

                  What on Earth gave you that idea?
                  [color=blue]
                  > so I would be interested to hear your assessment of them.[/color]

                  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.infosystem s.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.

                  Comment

                  • Andrew Thompson

                    #10
                    Re: How do I remove the new line after &lt;/form&gt;

                    On Tue, 21 Sep 2004 10:29:03 GMT, Michael Winter wrote:
                    [color=blue]
                    > On Tue, 21 Sep 2004 09:39:47 GMT, Andrew Thompson wrote:[/color]
                    ...[color=blue][color=green]
                    >> Of course, you know more about the 'alt' groups than I,[/color]
                    >
                    > What on Earth gave you that idea?[/color]

                    You read (at least) one of them. Beats me by (at least) 1.
                    [color=blue]
                    > Seems you're right about the illegitimacy.[/color]

                    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

                    Comment

                    • Noozer

                      #11
                      Re: How do I remove the new line after &lt;/form&gt;

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

                      Multiposting is bad, n'kay?
                      [color=blue]
                      > * Note that this aspect of the thread no longer has
                      > anything to do with either JS *or* HTML.[/color]

                      Then maybe you should stop adding non-relevant comments to the on topic
                      posts?


                      Comment

                      • John Bokma

                        #12
                        Re: How do I remove the new line after &lt;/form&gt;

                        Andrew Thompson <SeeMySites@www .invalid> wrote in
                        news:1vt666tj9c m2s.xs04qjidcr6 .dlg@40tude.net :
                        [color=blue]
                        > (My excuse/question, apart from the above is.. on which
                        > group do you get a higher S/N ratio?*)[/color]

                        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

                        Comment

                        • Dr John Stockton

                          #13
                          Re: How do I remove the new line after &lt;/form&gt;

                          JRS: In article <1vt666tj9cm2s. xs04qjidcr6.dlg @40tude.net>, dated Tue,
                          21 Sep 2004 09:39:47, seen in news:comp.lang. javascript, Andrew Thompson
                          <SeeMySites@www .invalid> posted :[color=blue]
                          >
                          >* 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.[/color]


                          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.demo n.co.uk Turnpike v4.00 MIME. ©
                          Web <URL:http://www.merlyn.demo n.co.uk/> - FAQish topics, acronyms, & links.

                          In MS OE, choose Tools, Options, Send; select Plain Text for News and E-mail.

                          Comment

                          Working...