dbldee Posted April 5, 2008 Share Posted April 5, 2008 <?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 More sharing options...
papaface Posted April 5, 2008 Share Posted April 5, 2008 This is not a PHP question it is a CSS question. Link to comment https://forums.phpfreaks.com/topic/99701-help-with-syntax-needed/#findComment-510039 Share on other sites More sharing options...
dbldee Posted April 5, 2008 Author Share Posted April 5, 2008 This is not a PHP question it is a CSS question. I can respectfully disagree, but is there any error with the php code? Link to comment https://forums.phpfreaks.com/topic/99701-help-with-syntax-needed/#findComment-510044 Share on other sites More sharing options...
marcus Posted April 5, 2008 Share Posted April 5, 2008 you can try using a.textlink:visited Link to comment https://forums.phpfreaks.com/topic/99701-help-with-syntax-needed/#findComment-510050 Share on other sites More sharing options...
dbldee Posted April 5, 2008 Author Share Posted April 5, 2008 you can try using a.textlink:visited I don't quite follow All i wish to do is change the font of the visible textlink eg textlink becomes textlink Link to comment https://forums.phpfreaks.com/topic/99701-help-with-syntax-needed/#findComment-510070 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.