img align=right :-(

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Roderik

    img align=right :-(

    Hi,

    I am wondering why (half of the) squared images are not aligned on the
    right of the text in Internet Explorer (using <img ... align="right" />.
    I thought this was supported even in IE. In FF and Opera it works fine.
    Already more than a month ago, finally I've got the photo's of the RobotChallenge on my web site. The robotchallenge in Vienna is an international event where teams compete in different challenges. Chaekith Chandranna and I participated in the Parallel Slalom and Enhanced Parallalel Slalom challenges. The robotchallenge was a very nice experience. No prizes


    Mucht thanks for any suggestions.
  • dorayme

    #2
    Re: img align=right :-(

    In article <48420632$1_4@m k-nntp-2.news.uk.tisca li.com>,
    Roderik <nospam@atall.n lwrote:
    Hi,
    >
    I am wondering why (half of the) squared images are not aligned on the
    right of the text in Internet Explorer (using <img ... align="right" />.
    I thought this was supported even in IE. In FF and Opera it works fine.
    Already more than a month ago, finally I've got the photo's of the RobotChallenge on my web site. The robotchallenge in Vienna is an international event where teams compete in different challenges. Chaekith Chandranna and I participated in the Parallel Slalom and Enhanced Parallalel Slalom challenges. The robotchallenge was a very nice experience. No prizes

    >
    Mucht thanks for any suggestions.
    Use css to align images. Either text-align: left, or float: left;

    Your site is much more accessible when all your stylesheets are turned
    off.

    There is no excuse for the main content not being able to squeeze
    tighter when the browser window width is reduced.

    Use 4.01 Strict doctype, get rid of align="" in favour of CSS. For an
    example of floating pics left and right:

    <http://netweaver.com.a u/alt/floatleftFloatr ight.html>

    See what happens when you play about with the browser size and compare
    with yours. You need to get this kind f flexibility into your pages if
    you want to jump in class.

    --
    dorayme

    Comment

    • Jukka K. Korpela

      #3
      Re: img align=right :-(

      Scripsit Roderik:
      I am wondering why (half of the) squared images are not aligned on the
      right of the text in Internet Explorer (using <img ... align="right"
      />. I thought this was supported even in IE.
      It is, but it can be overridden in CSS.
      There are 6 markup errors reported by a validator. You didn't do you
      homework before posting.

      If you switch stylesheets off, e.g. using a Tantek favelet (
      http://tantek.com/favelets/ ), you'll see that IE applies align="right"
      as defined.

      Thus, the problem is in CSS, not HTML. Hence it is off-topic in this
      group. Moreover, you should do your homework by using the available
      tools for checking the syntactic correctness of your HTML and CSS before
      asking for help in public.

      --
      Jukka K. Korpela ("Yucca")


      Comment

      • Roderik

        #4
        Re: img align=right :-(

        Jukka K. Korpela schreef:
        Scripsit Roderik:
        >
        >I am wondering why (half of the) squared images are not aligned on the
        >right of the text in Internet Explorer (using <img ... align="right"
        >/>. I thought this was supported even in IE.
        >
        It is, but it can be overridden in CSS.
        >>
        There are 6 markup errors reported by a validator. You didn't do you
        homework before posting.
        I validate the page quite often. The 6 errors are in javascript of which
        I was aware. It is a matter of adding a CDATA statement but the
        javascript is automatically generated so that is a time consuming code
        change. However it seemed to be quite unlikely to me that that
        javascript (I mean provided by Google) was related to the image placement.
        If you switch stylesheets off, e.g. using a Tantek favelet (
        http://tantek.com/favelets/ ), you'll see that IE applies align="right"
        as defined.
        I use web developer tootlbar.
        >
        Thus, the problem is in CSS, not HTML.
        The problem might be interrelated but it surely had to with HTML since
        it concerns a HTML style (or align in this case) attribute.

        Hence it is off-topic in this
        group. Moreover, you should do your homework by using the available
        tools for checking the syntactic correctness of your HTML and CSS before
        asking for help in public.
        You shouldn't assume that I didn't.

        Comment

        • Gus Richter

          #5
          Re: img align=right :-(

          Roderik wrote:
          Jukka K. Korpela schreef:
          >Scripsit Roderik:
          >>
          >>I am wondering why (half of the) squared images are not aligned on the
          >>right of the text in Internet Explorer (using <img ... align="right"
          >>/>. I thought this was supported even in IE.
          >>http://www.roderik.net/2008/05/25/ro...e-vienna-2008/
          The problem is not only with the right aligned, but also with the left
          alligned images.
          >If you switch stylesheets off, e.g. using a Tantek favelet (
          >http://tantek.com/favelets/ ), you'll see that IE applies
          >align="right " as defined.
          >Thus, the problem is in CSS, not HTML.
          >
          The problem might be interrelated but it surely had to with HTML since
          it concerns a HTML style (or align in this case) attribute.
          Remove align="left" Attribute
          Add float:left; Property

          Example for your first instance:

          <p><img height="99" border="2" width="99" alt=""
          style="padding: 5px; margin-right: 5px; float:left;"
          src="http://www.roderik.net/lib/img/thumbtesttrack. JPG" />
          Already more than a month ago,..........

          Astually, I prefer this structure:

          <img height="99" border="2" width="99" alt=""
          style="padding: 5px; margin-right: 5px; float:left;"
          src="http://www.roderik.net/lib/img/thumbtesttrack. JPG" />
          <p>Already more than a month ago,..........

          --
          Gus

          Comment

          • Jukka K. Korpela

            #6
            Re: img align=right :-(

            Scripsit Gus Richter:
            Roderik wrote:
            [...]
            >The problem might be interrelated but it surely had to with HTML
            >since it concerns a HTML style (or align in this case) attribute.
            The usual cluelessness indicators are "on", but...
            Remove align="left" Attribute
            Add float:left; Property
            .... that's no excuse for giving clueless "advice". Your personal, or
            even the W3C's, preference for CSS formatting as opposite to HTML
            formatting has nothing to do with the problem.

            --
            Jukka K. Korpela ("Yucca")


            Comment

            • Roderik

              #7
              Re: img align=right :-(

              Jukka K. Korpela schreef:
              Scripsit Gus Richter:
              >
              >Roderik wrote:
              [...]
              >>The problem might be interrelated but it surely had to with HTML
              >>since it concerns a HTML style (or align in this case) attribute.
              >
              The usual cluelessness indicators are "on", but...
              >
              >Remove align="left" Attribute
              >Add float:left; Property
              >
              ... that's no excuse for giving clueless "advice". Your personal, or
              even the W3C's, preference for CSS formatting as opposite to HTML
              formatting has nothing to do with the problem.
              >
              I prefer CSS floating also (and use it quite often) but in this case I
              prefer not to change the HTML because it is automatically generated. And
              I wondered why the behaviour of the align is like this in internet
              explorer when I know that internet explorer supports it.

              Comment

              • Gus Richter

                #8
                Re: img align=right :-(

                Roderik wrote:
                >
                I prefer CSS floating also (and use it quite often) but in this case I
                prefer not to change the HTML because it is automatically generated. And
                I wondered why the behaviour of the align is like this in internet
                explorer when I know that internet explorer supports it.
                It's up to you of course, but look (with any other browser other than
                IE) at how the subsequent text runs into the image above when the
                paragraph is not enough to clear the image. To remedy that, you have to
                include a clear such as:
                <p style="clear:le ft;">
                and alternating:
                <p style="clear:ri ght">
                or for all simply:
                <p style="clear:bo th;">

                else include a clearing div.

                Even if you wish to use a stylesheet instead of the inline style, you
                still will have to change the html to include a clearing div or add a
                class/id to the <p>aragraph. What I'm saying is that you will have to
                change the html anyway.

                --
                Gus

                Comment

                • Gus Richter

                  #9
                  Re: img align=right :-(

                  Jukka K. Korpela wrote:
                  Scripsit Gus Richter:
                  >
                  >Roderik wrote:
                  [...]
                  >>The problem might be interrelated but it surely had to with HTML
                  >>since it concerns a HTML style (or align in this case) attribute.
                  >
                  The usual cluelessness indicators are "on", but...
                  >
                  >Remove align="left" Attribute
                  >Add float:left; Property
                  >
                  ... that's no excuse for giving clueless "advice". Your personal, or
                  even the W3C's, preference for CSS formatting as opposite to HTML
                  formatting has nothing to do with the problem.
                  I believe that it's you that is clueless! Indicative by not being able
                  to produce a cure but only to call everyone clueless.

                  --
                  Gus

                  Comment

                  • BootNic

                    #10
                    Re: img align=right :-(

                    Roderik <nospam@atall.n lwrote in news:48420632$1 _4@mk-nntp-
                    2.news.uk.tisca li.com:
                    Hi,
                    >
                    I am wondering why (half of the) squared images are not aligned on the
                    right of the text in Internet Explorer (using <img ... align="right" />.
                    I thought this was supported even in IE. In FF and Opera it works fine.
                    http://www.roderik.net/2008/05/25/ro...e-vienna-2008/
                    Your issue is within your global reset.

                    --
                    BootNic Sunday June 1, 2008 8:06 PM
                    "The POP3 server service depends on the SMTP server service, which
                    failed to start because of the following error: The operation
                    completed successfully."
                    *Windows NT Server v3.51*

                    Comment

                    • Roderik

                      #11
                      Re: img align=right :-(

                      BootNic schreef:
                      Roderik <nospam@atall.n lwrote in news:48420632$1 _4@mk-nntp-
                      2.news.uk.tisca li.com:
                      >
                      >Hi,
                      >>
                      >I am wondering why (half of the) squared images are not aligned on the
                      >right of the text in Internet Explorer (using <img ... align="right" />.
                      >I thought this was supported even in IE. In FF and Opera it works fine.
                      >http://www.roderik.net/2008/05/25/ro...e-vienna-2008/
                      >
                      Your issue is within your global reset.
                      >
                      Thanks, that's it. Short and to the point! :-)

                      Comment

                      Working...