[pmwiki-users] How to selectively remove underlining from links

Randy Brown randy at brownragfilms.com
Sat Mar 15 00:16:55 CDT 2014


Thanks for the suggestion. I don't know what I'm doing wrong, but it still doesn't work.

I put this in a css file that I know is included.

/* Allow buttonlinks without an underline */
a.button {
       background-color:#EEEEEE;
       color:#333333;
       text-decoration:none;
       border-top:1px solid #CCCCCC;
       border-right:1px solid #333333;
       border-bottom:1px solid #333333;
       border-left:1px solid #CCCCCC;
       padding:2px 6px 2px 6px;
       font:bold 11px Arial;
}

Then I tried this markup: [[{$FullName}|%class=button% test]]

It just shows a normal link. 

Randy


On Mar 14, 2014, at 11:48 PM, Simon <nzskiwi at gmail.com> wrote:

> Give the button a class, e.g. 'button',
> then in local.css 
> specify that in that class links are not underlined




More information about the pmwiki-users mailing list