HowToUseCSSinText
Back to current versionRestore this version

Applying style sheet classes on WikiPages#

A CSS style can be defined in a style sheet. JSPWiki normally comes with some pre-defined styles.

To apply a CSS style use this notation:

Wiki notation Effect
%%stylename ... %% start styled section using class stylename content: normal WikiNotation to be styled close styled section

Applying in-line CSS styles#

The notation for in-line CSS drops the stylename parameter, replacing it with style definitions surrounded by parantheses:

Wiki notation Effect
%%( font-size: 150%; color: red ) ... %% start styled section with any CSS definitions content: normal WikiNotation to be styled close styled section

Go back to DontTellMeShowMe