Skip to Content
0
Former Member
Jul 22, 2010 at 10:59 AM

HTML Bullet-Lists and Numbered Lists

95 Views

I used the following html code to test the html-interpretation mode for text fields.

It seems that the interpretation of bulletlists and numbered lists is working,

but obviously the style of the bullets and indentation is not working as expected.

The issues are:

- The bullets are shown as almost invisible small dots

- There is no white space between the bullet / number and the first character of the text

- The indentation of the first line of a listitem is as expected but I use a text longer than one line, the second line is not intended and starts from the very left edge of the textbox.

I would appreciate any solution which solves these issues.

I use Crystal Reports 2008 SP3 and the reports are displayed from a custom .NET application

which uses CrystalDecisions.Windows.Forms.CrystalReportViewer

to display the report.

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

<body style="font-style:normal;font-weight:normal;">
  <ul>
    <li>
      <p><span>Bullet 1</span></p>
    </li>

    <li>
      <p><span>Bullet 2</span></p>
    </li>

    <li>
      <p><span>Bullet 3 with very long text which should be indented
      and it seems to be, that the indentation does not work</span></p>
    </li>
  </ul>

  <ol>
    <li>
      <p><span>Number 1</span></p>
    </li>

    <li>
      <p><span>Number 2</span></p>
    </li>

    <li>
      <p><span>Number 3 with very long text which should be indented
      and it seems to be, that the indentation does not work</span></p>
    </li>
  </ol>
</body>
</html>

Edited by: mikepkp17 on Jul 22, 2010 12:59 PM