ICssInlinerServiceInlineCss Method |
Moves CSS to inline style attributes, to gain maximum E-mail client compatibility.
Namespace: CMS.NewslettersAssembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 12.0.0
Syntax string InlineCss(
string htmlSource,
Uri baseUri
)
Parameters
- htmlSource
- Type: SystemString
Input HTML string. - baseUri
- Type: SystemUri
Base URL to apply to link elements with href values ending with *.css.
Return Value
Type:
StringHTML with inlined styles.
See Also