Click or drag to resize
HTMLHelperResolveCSSClientUrls Method
Resolves client-relative URLs in CSS rules to absolute URLs (used with css files).

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax
C#
public static string ResolveCSSClientUrls(
	string inputText,
	string baseUrl
)

Parameters

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

Return Value

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