In the column macro, do not add the % symbol to the width when the user has specified "px" for pixels

XMLWordPrintable

    • Type: Suggestion
    • Resolution: Duplicate
    • 2.2.10
    • Component/s: None
    • Environment:
      Linux RedHat, Tomcat Standalone, JDK 1.5

      When you use

      {column:width=50}

      , the macro automatically adds the percent symbol to the end of the number, so that the value is specified as a percentage.

      However, when you use

      {column:width=50px}

      , the macro still adds the percent symbol to the end of the width in the generated <td> element. So, the width looks like this: width="50px%". This is interpreted differently on IE and Firefox. IE ignores the percentage sign, and interprets this as 50 pixels. Firefox ignores the "px", and interprets this as 50%.

      Please allow the "px" designation for column width, and do not append the percentage sign when "px" appears at the end of the width.

              Assignee:
              Unassigned
              Reporter:
              Jim Dibble
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: