added css webroot and appsroot info

This commit is contained in:
Bernhard Posselt
2012-11-28 02:43:12 +01:00
parent db843f56f5
commit 6092518329

View File

@@ -393,4 +393,13 @@ To add a script in your controller method, use the controller's **addScript** an
// etc
}
?>
?>
If you have to include an image in your CSS, use %appswebroot% and %webroot% for creating absolute paths to your image, for instance:
.. code-block:: css
.folder > .title {
background-image: url('%webroot%/core/img/places/folder.svg');
}