2 7 1 What are Cascading Style Sheets and how do they work

LANSA WAM

2.7.1 What are Cascading Style Sheets and how do they work?

A Cascading Style Sheet tells the browser how to display page elements.  Cascading Style Sheet information determines things like the fonts and color schemes, visual effects, alignment, border size and color, but may also be used to define images and other features related to the interface. These properties can be assigned to individual elements identified by an ID, or groups of elements identified by type, location and class.

A detailed description of CSS is beyond the scope of this document. However, there are many good books and online resources that cover the subject in detail. A good place to start online is the free tutorial at W3Schools.

Many of the shipped weblets include style (or class) properties. The default style applied to a property, and the full set of styles available in the dropdown list associated with these properties, relate directly back to the CSS file referenced on the WAM's related layout.

Cascading styleheets are shipped minified (Most whitespace removed). Non-minified version of these files are also shipped in the same directory.

LANSA also ships with a set of CSS files defined specifically for use with the PocketPC Technology Service.