Click or drag to resize
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.Helpers
Assembly: CMS.Helpers (in CMS.Helpers.dll) Version: 9.0.0
Syntax
C#
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