Loading ...
Sorry, an error occurred while loading the content.

Re: [NH] Image Tags and Carriage Returns

Expand Messages
  • Lotta
    Mike, I made a typo. ... Was of course to be: And I forgot to say that I made double spaces to make it easier to see. One space is enough for it
    Message 1 of 5 , May 31, 2001
    View Source
    • 0 Attachment
      Mike,

      I made a typo.

      > <TD><IMG><TD>

      Was of course to be:

      <TD><IMG></TD>

      And I forgot to say that I made double spaces to make it easier to see. One
      space is enough for it to show up in the browser.

      One shouldn't write when one ought to sleep.

      Goodnight,
      Lotta
    • Yehuda Katz
      Hi, HTML translates carriage return as a space. In most cases it passes unnoticable, but try this: HT ML and you get HT ML. The same applies for images.
      Message 2 of 5 , Jun 1, 2001
      View Source
      • 0 Attachment
        Hi,

        HTML translates carriage return as a space. In most cases it passes
        unnoticable, but try this:

        HT
        ML

        and you get HT ML.

        The same applies for images.

        Yehuda, Israel


        >From: mikew@...
        >Reply-To: ntb-html@yahoogroups.com
        >To: ntb-html@yahoogroups.com
        >Subject: [NH] Image Tags and Carriage Returns
        >Date: Thu, 31 May 2001 21:30:36 -0000
        >
        >After trying to figure this out for a long, long time, I almost
        >accidentally discovered that inserting a carriage break before or
        >after an image tag will change the way that the image is displayed in
        >IE or NS.
        >
        >For example:
        >
        ><IMG SRC="a.jpg"><IMG SRC="b.jpg">
        >
        >displays differently than:
        >
        ><IMG SRC="a.jpg">
        ><IMG SRC="b.jpg">
        >
        >(The second example has a 4 pixel gap between the images, while the
        >first example doesn't.)
        >
        >Here's another example:
        >
        ><TD><IMG SRC="a.jpg"></TD>
        ><TD><IMG SRC="b.jpg"></TD>
        >
        >displays differently than:
        >
        ><TD>
        ><IMG SRC="a.jpg">
        ></TD>
        ><TD>
        ><IMG SRC="b.jpg">
        ></TD>
        >
        >(Again, the second example has a 4 pixel gap between the images, even
        >with cellpadding and cellspacing set to zero in the <TABLE> tag.)
        >
        >Can anyone explain this to me or provide me with some related tips?
        >
        >Thanks,
        >
        >Mike Wilkinson
        >

        _________________________________________________________________________
        Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
      Your message has been successfully submitted and would be delivered to recipients shortly.