Jump to content

Help with syntax needed


dbldee

Recommended Posts

<?php
if ($config['mod_rewrite'] == 'YES') { 
                    $template_listing->set('www', '<a href="'.BASE_URL.'/out-'.$f['selector'].'.html" target=_blank class=textlink>'.$lang['listing_visit_website'].'</a>');
                } else {
                    $template_listing->set('www', '<a href="'.BASE_URL.'/listing_out.php?id='.$f['selector'].'" target=_blank  class= textlink>'.$lang['listing_visit_website'].'</a>');  
?>

the class textlink is set as a clickable link

the font is adjusted with css

a.textlink{font-weight:bold;color:#FF0000;font-size:16px;}

 

the problem is the syntax of textlink to produce the desired font or is something else required?

 

I 've tried "textlink" and 'textlink' and '"textlink'" to no sucess.

 

Any thoughts or sugestions would be appreciated.

 

 

(edited by kenrbnsn to change the

tags to


)

Link to comment
https://forums.phpfreaks.com/topic/99701-help-with-syntax-needed/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.