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

Randy Brown randy at brownragfilms.com
Sat Mar 15 01:26:44 CDT 2014


Thank you! This is what finally worked:

In configuration files I have:

# Allow CSS styling of links, e.g. to remove underline
$WikiStyleApply['link'] = 'a';

SDVA($WikiStyle['buttonlink'], array(
       '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' 
));

In my markup I have:

%apply=link text-decoration:none %[[PmWiki.WikiStyles | %buttonlink%test link]]

Randy


On Mar 15, 2014, at 1:16 AM, tamouse pontiki <tamouse.lists at gmail.com> wrote:

> Does this section help at all?
> http://www.pmwiki.org/wiki/PmWiki/WikiStyles#WikiStyleApply
> 
> 
> On Fri, Mar 14, 2014 at 10:22 PM, Randy Brown <randy at brownragfilms.com> wrote:
>> I want to create a link that looks like a button, without underlining the link text.




More information about the pmwiki-users mailing list