Click or drag to resize
CSSHelperGetCSSFileLink Method (String, String)
Returns the HTML link element that links to external stylesheet.

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
public static string GetCSSFileLink(
	string url,
	string media
)

Parameters

url
Type: SystemString
URL pointing to an external stylesheet
media
Type: SystemString
What device the linked document will be displayed on, or null

Return Value

Type: String
HTML link to a stylesheet
See Also