HTMLHelperResolveCSSClientUrls Method |
Resolves client-relative URLs in CSS rules to absolute URLs (used with css files).
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 11.0.0
Syntax 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:
StringCSS rules containing absolute URLs to resources
See Also