
The includeCSS(String) template call allows you to include a CSS file in the resulting page. CSS files can be included in your project by placing them in a stylesheets/ directory in the project root.
Example 1:
define page root() {
includeCSS("dropdownmenu.css")
}
It is also possible to include a CSS file using an absolute URL.
Example 2:
define page root() {
includeCSS("http://webdsl.org/stylesheets/common_.css")
}
The media attribute can be set by passing it as second argument in includeCSS(String,String)
Example 3:
define page root(){
includeCSS("http://webdsl.org/stylesheets/common_.css","screen")
}
include CSS