CSSHelperRegisterCSSBlock Method |
Adds a style block containing specified CSS rules to the page's header. If registering the same block multiple times then a given block is registered only once.
Namespace: CMS.HelpersAssembly: CMS.Helpers (in CMS.Helpers.dll) Version: 8.2.23
Syntax public static void RegisterCSSBlock(
Page page,
string key,
string style
)
Parameters
- page
- Type: System.Web.UIPage
The page that is registering the CSS style block - key
- Type: SystemString
Unique key of the style block - style
- Type: SystemString
Style declaration that contains CSS rules
See Also