CSSHelperGetCSSFileLink Method (String, String) |
Returns the HTML link element that links to external stylesheet.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax 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:
StringHTML link to a stylesheet
See Also