Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4282556

JEditorPane: WIDTH attribute for HR tag does not work.

XMLWordPrintable

      To reproduce the problem, just save the example below and load it into JEditorPane.

      The following example will demonstrate the problem:

      <html>
        <head>
          <title>Dividers0</title>
        </head>

        <body>
          <P>This horizontal rule should occupy 50% of the screen<br>
            <HR ALIGN="LEFT" WIDTH="50%">
          </P>

        </body>
      </html>

      The "50%" width is not working. The horizontal rule takes up the whole screen rather than half.

      edmund.lou@eng 1999-10-19

            svioletsunw Scott Violet (Inactive)
            elousunw Edmund Lou (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: