[pmwiki-users] add a css-class to a link
DaveG
pmwiki at solidgone.com
Thu Feb 12 12:31:46 CST 2009
noskule wrote:
> hi all
> Is there a way to add a class to a wikilink like it can be done to a
> list? I need something like:
>
> %item class=confirm-delete%[[Main.HomePage|Delete Test]]
>
I asked this before as well, and I believe the answer is no. The way
I've approached this in the past is to surround the link in some other
html element, and then reference the link in the form
element a {css-stuff}
Lists are most useful for this:
* %item confirm-delete%[[link|delete]]
And then CSS:
li.confirm-delete{css}
Or even just use the span:
%confirm-delete%[[link|delete]]
~ ~ Dave
More information about the pmwiki-users
mailing list