Click or drag to resize
HTMLHelperResolveCSSUrls Method
Resolves application-relative URLs in CSS rules to absolute URLs (used with database style sheets).

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
Syntax
C#
public static string ResolveCSSUrls(
	string inputText,
	string applicationPath
)

Parameters

inputText
Type: SystemString
CSS text to search and re-base
applicationPath
Type: SystemString
Base URL to use when resolving application relative URLs

Return Value

Type: String
CSS rules containing absolute URLs to resources
See Also