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 ?
<!--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
I've checked the latest build, the font size is ok. Which version do you use?