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: 13.0.131
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