image alignment (from html)

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

    image alignment (from html)

    Hi,

    This is a folluw-up from the html group because it was considered
    off-topic there.
    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


    Please don't bother about the few javascript errors (non-CDATA) in the
    validator.
    Mucht thanks for any suggestions.
  • Beauregard T. Shagnasty

    #2
    Re: image alignment (from html)

    Roderik wrote:
    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/
    CSS:

    ..imgleft {
    float: left;
    }
    ..imgright {
    float: right;
    }

    HTML:

    <p>
    <span class="imgright ">
    <img height="99" border="2" width="99" alt="to siemens building with
    robots" src="http://www.roderik.net/lib/img/thumbtosiemens( 1).jpg">
    </span
    On the photos you can see some shots of us developing our LEGO vehicles
    in ...
    </p>

    <p>
    <span class="imgleft" >
    <img height="99" border="2" width="99" alt="Cheakith Chandranna with
    water?" src="http://www.roderik.net/lib/img/thumbmralcohol. JPG">
    </span>
    On Friday we took the plane to Bratislava (that was cheaper), ...
    </p>


    --
    -bts
    -Friends don't let friends drive Windows

    Comment

    • Roderik

      #3
      Re: image alignment (from html)

      Beauregard T. Shagnasty schreef:
      Roderik wrote:
      >
      >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/
      >
      CSS:
      >
      .imgleft {
      float: left;
      }
      .imgright {
      float: right;
      }
      >
      HTML:
      >
      <p>
      <span class="imgright ">
      <img height="99" border="2" width="99" alt="to siemens building with
      robots" src="http://www.roderik.net/lib/img/thumbtosiemens( 1).jpg">
      </span
      On the photos you can see some shots of us developing our LEGO vehicles
      in ...
      </p>
      >
      <p>
      <span class="imgleft" >
      <img height="99" border="2" width="99" alt="Cheakith Chandranna with
      water?" src="http://www.roderik.net/lib/img/thumbmralcohol. JPG">
      </span>
      On Friday we took the plane to Bratislava (that was cheaper), ...
      </p>
      Yes I know that (and usually do it that way if I code it myself) but I
      wanted to use the automatically generated align=left and align=right
      attributes generated by the editor. So no changes to the HTML itself if
      possible.

      Comment

      • Jukka K. Korpela

        #4
        Re: image alignment (from html)

        Scripsit Roderik:
        This is a folluw-up from the html group
        No it isn't. You started a new thread, apparently after you deciced to
        post an excuse there, claiming that your posting was HTML related,
        despite that having been disproved (by a reference to non-CSS
        rendering).
        Please don't bother about the few javascript errors (non-CDATA) in the
        validator.
        Nobody should bother with the problem before you do your homework as
        explained in the previous discussion.

        Please do not fix your forged From field before you have a clue. Thank
        you in advance.

        --
        Jukka K. Korpela ("Yucca")


        Comment

        • Roderik

          #5
          Re: image alignment (from html)

          Jukka K. Korpela schreef:
          Scripsit Roderik:
          >
          >This is a folluw-up from the html group
          >
          No it isn't. You started a new thread, apparently after you deciced to
          post an excuse there, claiming that your posting was HTML related,
          despite that having been disproved (by a reference to non-CSS rendering).
          Well it is prob. both html and css related, although since the align
          attribute is part of html it looked to be most safe to post in the html
          group. Since so. didn't like it there I posted it here and noticed this
          in advance not to get flamed about cross-posting or whatever.
          >Please don't bother about the few javascript errors (non-CDATA) in the
          >validator.
          >
          Nobody should bother with the problem before you do your homework as
          explained in the previous discussion.
          Why is that? If I don't want the page to be valid xhtml that is my
          choice, and if you don't want to help me because of that that is your
          choice, but please don't judge for everybody else. I usually tend to
          make things valid however but it should be worth the effort. It will
          take to many hours of work for now and I think the problem is not
          related to that, most of it is valid and 6 errors are related to one
          thing that is wrong. Since I can't edit the html directly it will be
          time consuming to change such a thing.
          Please do not fix your forged From field before you have a clue. Thank
          you in advance.
          Well I have no clue, so I don't fix that then.

          Comment

          • dorayme

            #6
            Re: image alignment (from html)

            In article <48429f29$1_4@m k-nntp-2.news.uk.tisca li.com>,
            Roderik <nospam@atall.n lwrote:
            Hi,
            >
            This is a folluw-up from the html group because it was considered
            off-topic there.
            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/
            Does this exhibit the same problem in IE for you:

            <http://dorayme.890m.co m/alt/roderik.html>

            ?

            --
            dorayme

            Comment

            • Roderik

              #7
              Re: image alignment (from html)

              dorayme schreef:
              In article <48429f29$1_4@m k-nntp-2.news.uk.tisca li.com>,
              Roderik <nospam@atall.n lwrote:
              >
              >Hi,
              >>
              >This is a folluw-up from the html group because it was considered
              >off-topic there.
              >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/
              >
              Does this exhibit the same problem in IE for you:
              >
              <http://dorayme.890m.co m/alt/roderik.html>
              >
              ?
              No, but it doesn't have the stylesheets (and it has a different doctype).

              Comment

              • Jonathan N. Little

                #8
                Re: image alignment (from html)

                Roderik wrote:
                Jukka K. Korpela schreef:
                >Scripsit Roderik:
                >>
                >>This is a folluw-up from the html group
                >>
                >No it isn't. You started a new thread, apparently after you deciced to
                >post an excuse there, claiming that your posting was HTML related,
                >despite that having been disproved (by a reference to non-CSS rendering).
                >
                Well it is prob. both html and css related, although since the align
                attribute is part of html it looked to be most safe to post in the html
                group. Since so. didn't like it there I posted it here and noticed this
                in advance not to get flamed about cross-posting or whatever.
                >
                Maybe you should learn what crossposting and multiposting is before you
                continue your faux pas...



                Crossposting - Wikipedia, the free encyclopedia



                Multiposting vs Crossposting

                --
                Take care,

                Jonathan
                -------------------
                LITTLE WORKS STUDIO

                Comment

                • dorayme

                  #9
                  Re: image alignment (from html)

                  In article <48431cf0_4@m k-nntp-2.news.uk.tisca li.com>,
                  Roderik <nospam@atall.n lwrote:
                  dorayme schreef:
                  In article <48429f29$1_4@m k-nntp-2.news.uk.tisca li.com>,
                  Roderik <nospam@atall.n lwrote:
                  Hi,
                  >
                  This is a folluw-up from the html group because it was considered
                  off-topic there.
                  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/
                  Does this exhibit the same problem in IE for you:

                  <http://dorayme.890m.co m/alt/roderik.html>

                  ?
                  >
                  No, but it doesn't have the stylesheets (and it has a different doctype).
                  Yes, that is the point. Now we know it is either something to do with
                  your doctype or stylesheets. So this is what to do: if you are confident
                  about the your doctype (I would *not* be with IE), prepare a test case
                  that elimninates one of the 8 css sheets you have and see if the problem
                  disappears. And so on up to and including the embedded css. Once you
                  track the sheet down, the rest should be easy, and if it is not, come
                  back here with the minimal case that exhibits the problem.

                  --
                  dorayme

                  Comment

                  • Roderik

                    #10
                    Re: image alignment (from html)

                    dorayme schreef:
                    In article <48431cf0_4@m k-nntp-2.news.uk.tisca li.com>,
                    Roderik <nospam@atall.n lwrote:
                    >
                    >dorayme schreef:
                    >>In article <48429f29$1_4@m k-nntp-2.news.uk.tisca li.com>,
                    >> Roderik <nospam@atall.n lwrote:
                    >>>
                    >>>Hi,
                    >>>>
                    >>>This is a folluw-up from the html group because it was considered
                    >>>off-topic there.
                    >>>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/
                    >>Does this exhibit the same problem in IE for you:
                    >>>
                    >><http://dorayme.890m.co m/alt/roderik.html>
                    >>>
                    >>?
                    >No, but it doesn't have the stylesheets (and it has a different doctype).
                    >
                    Yes, that is the point. Now we know it is either something to do with
                    your doctype or stylesheets. So this is what to do: if you are confident
                    about the your doctype (I would *not* be with IE), prepare a test case
                    that elimninates one of the 8 css sheets you have and see if the problem
                    disappears. And so on up to and including the embedded css. Once you
                    track the sheet down, the rest should be easy, and if it is not, come
                    back here with the minimal case that exhibits the problem.
                    >
                    Problem solved. It was the img style reset in compressed.css

                    Comment

                    • dorayme

                      #11
                      Re: image alignment (from html)

                      In article <48435561$1_3@m k-nntp-2.news.uk.tisca li.com>,
                      Roderik <nospam@atall.n lwrote:
                      dorayme schreef:
                      ....
                      >>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/
                      >Does this exhibit the same problem in IE for you:
                      >>
                      ><http://dorayme.890m.co m/alt/roderik.html>
                      >>
                      >?
                      No, but it doesn't have the stylesheets (and it has a different doctype).
                      ....
                      prepare a test case
                      that elimninates one of the 8 css sheets you have and see if the problem
                      disappears. And so on up to and including the embedded css. Once you
                      track the sheet down, the rest should be easy, and if it is not, come
                      back here with the minimal case that exhibits the problem.
                      Problem solved. It was the img style reset in compressed.css
                      Well done finding it. All that stuff with robots looks like a lot of fun!

                      --
                      dorayme

                      Comment

                      Working...