Usestylesheet (element)

From JRapid

Jump to: navigation, search

usestylesheet is an element, child of config, entity or panel.


Contents

Description

The usestylesheet element is used to add the link HTML tag that relates an external CSS file to the HTML files generated by JRapid. It may be used as a child of the config, entity and panel elements. If used as a child of entity, only the corresponding HTML files for the entity will have the CSS included.

Note that every JRapid project is created with a Main.css file in the /WebContent/Main/css/ folder
and that this file is included by default in every generated HTML file by the use of usestylesheet.

Usage

<usestylesheet
      location = LOCATION
/>

Example

 <config>
     <usestylesheet location="../css/realestate.css"/>
 </config>

See also

Personal tools