dbldee Posted April 5, 2008 Share Posted April 5, 2008 I tried the PHP forum and it was suggestesd as CSS question 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:14px;} 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. how can i get the textlink to appear as the textlink? Quote Link to comment https://forums.phpfreaks.com/topic/99711-help-with-syntax-needed/ Share on other sites More sharing options...
dbrimlow Posted April 5, 2008 Share Posted April 5, 2008 try this: .textlink a:link, .textlink a:visited {font-weight:bold;color:#FF0000;font-size:14px;} Quote Link to comment https://forums.phpfreaks.com/topic/99711-help-with-syntax-needed/#findComment-510212 Share on other sites More sharing options...
soycharliente Posted April 11, 2008 Share Posted April 11, 2008 The textlink class is in the a a.textlink:link a.textlink:visited a.textlink:hover Make sure you put double quotes around all the tag attributes in your code too. Quote Link to comment https://forums.phpfreaks.com/topic/99711-help-with-syntax-needed/#findComment-515163 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.