找到这个文件
/function/common.func.php
找到下面这个方法
- function mktitlestyle($styletitle) {
- if(empty($styletitle)) {
- return '';
- } else {
- $return = '';
- substr($styletitle,8,1) == 1?$em = 'italic':$em = 'none';
- substr($styletitle,9,1) == 1?$strong = 'bold':$strong = 'none';
- substr($styletitle,10,1) == 1?$underline = 'underline':$underline = 'none';
- $color = trim(substr($styletitle,0,6));
- $size = trim(substr($styletitle,6,2));
- if(!empty($color)){
- $return .= 'color:#'.$color.";";
- }
- if(!empty($size)){
- $return .= 'font-size:'.$size."px;";
- }
- $return .= 'font-style:'.$em.';font-weight:'.$strong.';text-decoration:'.$underline;
- return $return;
- }
- }
复制代码 将下面代码删掉 注意将文件进行备份 这样后台的下滑线不会起作用了 自己的css 里面下划线效果就出来了
- substr($styletitle,10,1) == 1?$underline = 'underline':$underline = 'none';
-
- text-decoration:'.$underline;
复制代码
|