font-size in CSS styles generated by WebReport control are missing unit type

I noticed that my fonts are all being displayed the same size in the WebReport control so I looked at the HTML source generated and noticed that the CSS styles which are generated have a font size with no unit type specified. Also, the font-size itself looks more like an attribute of the HTML <font> tag instead of a CSS value. For instance, this text object in the .frx file...

<!--fonto:Courier New--><span style="font-family:Courier New"><!--/fonto--><TextObject Name="Text19" Left="240.04" Top="518.4" Width="144" Height="19.2" CanBreak="false"
Text="Send next year's promotion kit to:" VertAlign="Center" WordWrap="false"
Font="Arial, 6pt, style=Bold, Italic"/><!--fontc--></span><!--/fontc-->


.. results in this CSS class definition and HTML element...

.<!--fonto:Courier New--><span style="font-family:Courier New"><!--/fonto-->WebReport1s9 { font-weight:bold;font-style:italic;font-family:Arial;font-size:2;color:#000000;
background-color:transparent;text-align:Left;vertical-align:Middle;word-wrap:break-word;}

<td colspan="7" class="WebReport1s9">Send next year's promotion kit to:</td><!--fontc--></span><!--/fontc-->


Shouldn't the CSS style just have font-size:8pt ?

Comments

  • edited 6:34PM
    Hello,

    I've checked the latest build, the font size is ok. Which version do you use?

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.