HTML Formatted Data with Report
The Bold Reports® ASP.NET MVC Report Viewer shows HTML formatted data in Textbox report items along with inline CSS. The following sections list the supported tags and the CSS limitations.
Which HTML tags does the ASP.NET MVC Report Viewer support?
The Bold Reports® ASP.NET MVC Report Viewer supports the following HTML tags in Textbox report items.
- Hyperlinks:
<A HREF> - Fonts:
<FONT> - Header, style and block elements:
<H{n}>, <DIV>, <SPAN>, <P>, <DIV>, <LI>, <HN>. - Text format:
<B>, <I>, <U>, <S>
Which CSS attributes does the ASP.NET MVC Report Viewer support?
The Bold Reports® ASP.NET MVC Report Viewer supports the following Cascading Style Sheet (CSS) attributes:
- text-align, text-indent
- font-family
- font-size
- Only valid RDL size values are supported in absolute CSS length units. Supported units are: in, cm, mm, pt, pc, px, ex, and em.
- Relative CSS length units are ignored and are not supported. Unsupported units include percentage (%), and rem.
- color
- padding, padding-bottom, padding-top, padding-right, and padding-left
- font-weight