Loading...
 
Features / Usability

Features / Usability


Using CSS locally

posts: 2

Is it possible to include CSS code on a Tiki 3 (or 4) wiki page that functions when the html check box is ticked.
I want the CSS to only operate on the current page, (ie its not a template change) and for wiki editors to be able to include their own CSS.
A (currently non-working) example is:

< style >
p:hover { background-color : lime }
a:hover { background-color : lime }

tr:hover { background-color : green }
td:hover { background-color : lime }

table { border-spacing: 5px; }
< /style >

The background color of this paragraph should turn to green when
the mouse pointer hovers either its text (here) or its whitespace background, here:
The background color of this anchor (here) should turn to green when the pointing device hovers over it.



The cells in
this table
should go


green when
you hover
the pointing


device over
them.



The rows in
this table
should go


dark green
when the
pointing device


is over the
five pixel
border spacing


and when it is
over the cells.



Including blank:

cells.


posts: 2

Thanks for that. Is it possible to have auto approval for all html submissions, as I get the following after editing the content everytime:

"This plugin was recently added or modified. Until an editor of the site validates the parameters, execution will not be possible. You are allowed to:

  • View arguments etc"