Hi Stuart Hemming,
We have tested the HtmlTextBox
item on our end and we are not able to reproduce the unexpected HTML rendering behavior. Check out the Product Sales per Period demo
header that is utilizing a HtmlTextBox item.
Generally as explained in the Design Considerations for RTF Rendering
help article, due to the media limitations, the following CSS style properties set on the HTML tags are NOT respected:
- background-color on Block elements is rendered as background-color of the text
- text-align (center tag)
If you still experience any difficulties regarding HtmlTextBox rendering in PDF or RTF we will appreciate if you prepare and send us a sample runnable project to review/debug on our end.
the Telerik team