[pmwiki-users] wikistyles question
Lucian Wischik
lu.nn at wischik.com
Tue Nov 21 18:05:33 CST 2006
dso <dso at moosoft.com> wrote:
>How do you do this as a wikistyle?
><style type="text/css">
>.rollover a { display:block; width:32px; background-color: #FFFFFF}
>.rollover a:hover { background-color: #990000}
></style>
Doesn't this get to the point where wikistyles are no longer useful? I
mean, if a wikistyle can do all this, then it's merely another
re-implementation of CSS (rather than an easy-to-use subset). And
what's the use in having two markup languages that do the same thing?
I think you should write
%rollover% [[MyLink]]
and leave the definition of .rollover in HTML/CSS land. I personally
use "enable html" recipe and write
(:html:)
<style type="text/css">
.rollover ...
</style>
(:htmlend:)
at the top of the page.
--
Lucian
More information about the pmwiki-users
mailing list