Documentation

SetAdditionalCSS

CMain::SetAdditionalCSS(
 string Path2css,
 additional=false
)

The method sets the CSS for the page. Non-static method.

Parameters

ParameterDescription Available from version
Path2css Path to the CSS file relative to the root.
additional Optional parameter. By default the value is "false".

See Also

Examples of use

<?
$APPLICATION->SetAdditionalCSS("/bitrix/templates/demo/additional.css");
?>


© «Bitrix24», 2001-2022
Up