Add new attachment

Only authorized users are allowed to upload new attachments.

This page (revision-64) was last changed on 09-Feb-2012 14:07 by 155.70.23.45  

This page was created on 16-Oct-2003 11:02 by Ebu

Only authorized users are allowed to rename pages.

Only authorized users are allowed to delete pages.

Difference between version and

At line 1 changed 2 lines
Inline CSS definitions are supported on wikipages starting with JSPWiki version 2.1.38.
%%( display: inline; text-decoration: line-through; color: red )(Note that this site is currently running on an older, stable version!)%%
!Applying style sheet classes on WikiPages
At line 4 removed one line
The styling notation surrounds a section of regular wikitext with a DIV tag with the specified CSS attributes.
At line 6 changed one line
With IE6, the {{{div}}} tag produces a cosmetic bug. Spaces are not rendered correctly. Create the following simple HTML file and display it in IE6 and Firefox 1.0:
A CSS style can be defined in a style sheet (probably ''.../templates/default/jspwiki.css'', unless you have defined your own template in ''jspwiki.properties''). JSPWiki comes with some [pre-defined styles|JSPWikiStyles].
At line 8 changed 5 lines
{{{
<html>
This should be a <div style="color:red;display:inline">red</div> word.
</html>
}}}
To apply a CSS style use this notation:
At line 14 removed 6 lines
-- ReinhardEngel, 2004-11-26
----
!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 ''jspwiki.properties''), apply this notation:
At line 21 changed 2 lines
|{{{
%%stylename
|{{{%%stylename
At line 17 added 2 lines
[%%(font-size:10px;color:red)Applying in-line CSS styles%%]
!%%(color:red)Applying in-line CSS styles%%
At line 31 removed one line
!Applying in-line CSS styles
At line 33 removed one line
The notation for in-line CSS drops the ''stylename'' parameter, replacing it with style definitions surrounded by parantheses:
At line 22 added 2 lines
The notation for in-line CSS drops the ''stylename'' parameter, replacing it with style definitions surrounded by parentheses:
At line 36 changed 8 lines
|{{{
%%( font-size: 150%; color: red )
...
%%
}}}|{{{start styled section with any CSS definitions
content: normal WikiNotation to be styled
close styled section
}}}
|{{{This is normal text.
%%(color:red)This text is red.%%
This is normal text again.
}}}|This is normal text.\\%%(color:red)This text is red.%% \\This is normal text again.
At line 30 added 2 lines
At line 36 added one line
!Caveats
At line 50 changed one line
;:''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|http://www.ecyrd.com/ButtUgly/Wiki.jsp?page=Main_blogentry_100603_4]. -- JanneJalkanen''
%%( background-color: #c0c0ff; border: 1px dotted black; padding: 1em; )
Inline CSS definitions are supported on wikipages starting with JSPWiki version 2.1.38. For block usage a div tag is rendered, for inline usage a span tag.
%%
%%prettify
{{{
/** A JavaScript function */
function test() {
var a = "abc";
}
}}}/%
It is not possible to assign CSS code to a variable and have the CSS be rendered where it is inserted. For example, the following will not work:
{{{
[{SET red='%%(color:red)RED%%'}]
[{$red}]
}}}
And to prove it:
[{SET red='%%(color:red)RED%%'}]
[{$red}]
Version Date Modified Size Author Changes ... Change note
64 09-Feb-2012 14:07 1.618 kB 155.70.23.45 to previous
63 09-Feb-2012 14:02 1.617 kB 155.70.23.45 to previous | to last
62 09-Feb-2012 14:02 1.616 kB 155.70.23.45 to previous | to last
61 09-Feb-2012 14:02 1.618 kB 155.70.23.45 to previous | to last
« This page (revision-64) was last changed on 09-Feb-2012 14:07 by 155.70.23.45