Browse Source

Merge pull request #1719 from andersonamuller/patch-1

Doc fix
tags/2.0.0-beta
Carsten Brandt 11 years ago
parent
commit
71018175ea
  1. 4
      docs/guide/view.md

4
docs/guide/view.md

@ -197,8 +197,8 @@ body { background: #f00; }
</style>
```
If you want to specify additional properties of the style tag, pass an array of name-values to the second argument.
If you need to make sure there's only a single style tag use third argument as was mentioned in meta tags description.
If you want to specify additional properties of the style tag, pass an array of name-values to the third argument.
If you need to make sure there's only a single style tag use fourth argument as was mentioned in meta tags description.
```php
$this->registerCssFile("http://example.com/css/themes/black-and-white.css", [BootstrapAsset::className()], ['media' => 'print'], 'css-print-theme');

Loading…
Cancel
Save