Click or drag to resize
ICssInlinerServiceInlineCss Method
Moves CSS to inline style attributes, to gain maximum E-mail client compatibility.

Namespace: CMS.Newsletters
Assembly: CMS.Newsletters (in CMS.Newsletters.dll) Version: 11.0.0
Syntax
C#
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: String
HTML with inlined styles.
See Also