CssLinkHelperGetCssFileLink Method (String, String) |
Returns the HTML link element that links to external stylesheet.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 12.0.0
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