Adding Style to a Page

Most of the styling for your page should be done using the default style sheet for your site, Possibly overriden by other specialised style sheets for groups of pages. However, sometimes you need a one-off modification which doesn't justify the creation of a new sheet. The _.Style object makes it easy to add styles on the fly, for example to color the following h2 headers red on this page.

Other Reading

Also look up the Simple StyleSheet Example, which shows how to add an external style sheet, and take a look at the Advanced Table Example which uses a combination of the raw html control and the ScriptFollows to add a significant quantity of style in-line.

Controls used on this page: Dyalog: Style Base HTML: h2p