Discuz!官方免费开源建站系统

 找回密码
 立即注册
搜索

[已答复] 为什么我的新闻资讯页面字体有大有小?

[复制链接]
sourire 发表于 2010-2-21 11:48:28 | 显示全部楼层 |阅读模式
http://meetspec.com/?action-viewnews-itemid-832

里面的“遭遇”和“营收”两个字,为什么显示的这么难看。取消了TAG都不行。
回复

使用道具 举报

lidq.jingwu 发表于 2010-2-21 14:07:18 | 显示全部楼层
打开function/common.func.php文件,找到下面一段代码:
  1. //TAG处理函数
  2. function tagshowname($thename, $thetext) {
  3.         $name = rawurlencode($thename);
  4.         $thetext = str_replace('\"', '"', $thetext);
  5.         if(cutstr($thetext,1) != '<') {
  6.                 return '<a href="javascript:;" onClick="javascript:tagshow(event, \''.$name.'\');" target="_self"><u><strong>'.$thename.'</strong></u></a>'.$thetext;
  7.         } else {
  8.                 return $thename.$thetext;
  9.         }
  10. }
复制代码
将其改为:

  1. //TAG处理函数
  2. function tagshowname($thename, $thetext) {
  3.         $name = rawurlencode($thename);
  4.         $thetext = str_replace('\"', '"', $thetext);
  5.         if(cutstr($thetext,1) != '<') {
  6.                 return '<a href="javascript:;" onClick="javascript:tagshow(event, \''.$name.'\');" target="_self"><u>'.$thename.'</u></a>'.$thetext;
  7.         } else {
  8.                 return $thename.$thetext;
  9.         }
  10. }
复制代码
回复

使用道具 举报

Alice.Girl 发表于 2010-2-21 14:33:01 | 显示全部楼层
回复 1# sourire
应该是CSS控制了  strong  的字号了!
回复

使用道具 举报

 楼主| sourire 发表于 2010-2-21 16:23:34 | 显示全部楼层
回复 2# lidq.jingwu


    谢谢。
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2025-9-15 00:48 , Processed in 0.097750 second(s), 14 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表