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

Namespace: CMS.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 10.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