This is version . It is not the current version, and thus it cannot be edited.
[Back to current version]   [Restore this version]

Inline CSS definitions are supported on wikipages starting with JSPWiki version 2.1.38. (Note that this site is currently running on an older, stable version!)

The styling notation surrounds a section of regular wikitext with a DIV tag with the specified CSS attributes.

Applying style sheet classes on WikiPages#

To apply a CSS style defined in a style sheet (probably .../templates/default/jspwiki.css, unless you have defined your own template in, apply 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


HowToColorText HowToCenterText
I wasn't too sure whether to use ( or [ or { to delimit the css code... Let me know if my choice is likely to cause problems... For an example, see this entry on my weblog. -- JanneJalkanen

Add new attachment

Only authorized users are allowed to upload new attachments.
« This particular version was published on 25-Nov-2004 16:55 by ReinhardEngel.