Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-1357

Multiple aligned floating images formatted incorrectly

    XMLWordPrintable

Details

    Description

      If you have multiple aligned images (e.g. float: right), and a string of text, and the rendering window is small enough, then the text will be wrapped at the correct width, but the images will be aligned incorrectly and will overlap the text.

      E.g. the following HTML in a QTextBrowser:

      <img src="test.png" style="float: right"><img src="test.png" style="float:
      right">A long string that will wrap in a small window

      One work around is to put all the of the images into a containing table that is right aligned.

      E.g.

      <table border=0 cellpadding=0 cellspacing=0 style="float: right"><tr><td><img src="test.png"><img src="test.png"></table>A long string that will wrap in a small window.

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            sletta Gunnar Sletta
            mgoddard Michael Goddard (closed Nokia identity) (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes