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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[已答复] 教你如何去掉左侧个人信息下方的空白处

[复制链接]
军刀闪亮 发表于 2011-10-1 10:12:01 | 显示全部楼层 |阅读模式
问题描述
适用版本: Discuz! X2
浏览器: 其他(帖子中请注明浏览器) 
使用模板: 官方模板
BUG地址: http://
本帖最后由 军刀闪亮 于 2011-10-13 16:32 编辑

左侧个人信息的下方有一处很大的空白,如何能够去掉它呢,太占帖子高度了。


解决的办法看8楼和9楼

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x

评分

1

查看全部评分

cr180 发表于 2011-10-7 22:16:32 | 显示全部楼层
第一步
文件:template\default\forum\viewthread_node.htm

删除:
  1. <!--{if !$_G['forum_thread']['archiveid']}-->
  2. <tr>
  3.     <td class="pls"></td>
  4.     <td class="plc">
  5.         <div class="po">
  6.             <!--{if !$post['first'] && $modmenu['post']}-->
  7.                 <span class="y">
  8.                 <label for="manage$post[pid]">
  9.                 <input type="checkbox" id="manage$post[pid]" class="pc" {if !empty($modclick)}checked="checked" {/if}onclick="pidchecked(this);modclick(this, $post[pid])" value="$post[pid]" autocomplete="off" />
  10.                 {lang manage}
  11.                 </label>
  12.                 </span>
  13.             <!--{/if}-->
  14.             <div class="pob cl">
  15.                 <em>
  16.                     <!--{if $post['invisible'] == 0}-->
  17.                         <!--{if $allowpostreply}-->
  18.                             <!--{if $post['allowcomment'] && (!$thread['closed'] || $_G['forum']['ismoderator'])}--><a class="cmmnt" href="forum.php?mod=misc&action=comment&tid=$post[tid]&pid=$post[pid]&extra=$_G[gp_extra]&page=$page{if $_G['forum_thread']['special'] == 127}&special=$specialextra{/if}" onclick="showWindow('comment', this.href, 'get', 0)">{lang comments}</a><!--{/if}-->
  19.                             <!--{if !$needhiddenreply}-->
  20.                                 <!--{if $post['first']}-->
  21.                                     <a class="fastre" href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&reppost=$post[pid]&extra=$_G[gp_extra]&page=$page" onclick="showWindow('reply', this.href)">{lang reply}</a>
  22.                                 <!--{else}-->
  23.                                     <a class="fastre" href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&repquote=$post[pid]&extra=$_G[gp_extra]&page=$page" onclick="showWindow('reply', this.href)">{lang reply}</a>
  24.                                 <!--{/if}-->
  25.                             <!--{/if}-->
  26.                         <!--{/if}-->
  27.                     <!--{/if}-->
  28.                     <!--{if (($_G['forum']['ismoderator'] && $_G['group']['alloweditpost'] && (!in_array($post['adminid'], array(1, 2, 3)) || $_G['adminid'] <= $post['adminid'])) || ($_G['forum']['alloweditpost'] && $_G['uid'] && $post['authorid'] == $_G['uid'] && !(!$alloweditpost_status && $edittimelimit && TIMESTAMP - $post['dbdateline'] > $edittimelimit)))}-->
  29.                         <a class="editp" href="forum.php?mod=post&action=edit&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]{if !empty($_G[gp_modthreadkey])}&modthreadkey=$_G[gp_modthreadkey]{/if}&page=$page"><!--{if $_G['forum_thread']['special'] == 2 && !$post['message']}-->{lang post_add_aboutcounter}<!--{else}-->{lang edit}</a><!--{/if}-->
  30.                     <!--{elseif $_G['uid'] && $post['authorid'] == $_G['uid']}-->
  31.                         <a class="appendp" href="forum.php?mod=misc&action=postappend&tid=$post[tid]&pid=$post[pid]&extra=$_G[gp_extra]&page=$page" onClick="showWindow('postappend', this.href, 'get', 0)">{lang postappend}</a>
  32.                     <!--{/if}-->
  33.                     <!--{if $post['first'] && $post['invisible'] == -3}-->
  34.                         <a class="psave" href="forum.php?mod=misc&action=pubsave&tid=$_G[tid]">{lang published}</a>
  35.                     <!--{/if}-->
  36.                     <!--{if $post['invisible'] == -2 && !$post['first']}-->
  37.                         <span class="xg1">({lang moderate_need})</span>
  38.                     <!--{/if}-->
  39.                     <!--{if $post['first'] && $allowblockrecommend}--><a class="push" href="javascript:;" onclick="modaction('recommend', '$_G[forum_firstpid]', 'op=recommend&idtype={if $_G[forum_thread][isgroup]}gtid{else}tid{/if}&id=$_G[tid]&pid=$post[pid]', 'portal.php?mod=portalcp&ac=portalblock')">{lang modmenu_blockrecommend}</a><!--{/if}-->
  40.                     <!--{hook/viewthread_postfooter $postcount}-->
  41.                 </em>

  42.                 <p>
  43.                     <!--{if $post['invisible'] == 0}-->
  44.                         <!--{if $_G['setting']['magicstatus']}-->
  45.                             <a href="javascript:;" id="mgc_post_$post[pid]" onmouseover="showMenu(this.id)" class="showmenu">{lang thread_magic}</a>
  46.                         <!--{/if}-->

  47.                         <!--{if $_G['forum_thread']['special'] == 3 && ($_G['forum']['ismoderator'] && (!$_G['setting']['rewardexpiration'] || $_G['setting']['rewardexpiration'] > 0 && ($_G[timestamp] - $_G['forum_thread']['dateline']) / 86400 > $_G['setting']['rewardexpiration']) || $_G['forum_thread']['authorid'] == $_G['uid']) && $post['authorid'] != $_G['forum_thread']['authorid'] && $post['first'] == 0 && $_G['uid'] != $post['authorid'] && $_G['forum_thread']['price'] > 0}-->
  48.                             <a href="javascript:;" onclick="setanswer($post['pid'], '$_G[gp_from]')">{lang reward_set_bestanswer}</a>
  49.                         <!--{/if}-->

  50.                         <!--{if !$post['first'] && $_G['group']['raterange'] && $post['authorid']}-->
  51.                             <a href="javascript:;" onclick="showWindow('rate', 'forum.php?mod=misc&action=rate&tid=$_G[tid]&pid=$post[pid]', 'get', -1);return false;">{lang rate}</a>
  52.                         <!--{/if}-->

  53.                         <!--{if $post['rate'] && $_G['forum']['ismoderator']}-->
  54.                             <a href="forum.php?mod=misc&action=removerate&tid=$_G[tid]&pid=$post[pid]&page=$page" onclick="showWindow('rate', this.href, 'get', -1)">{lang removerate}</a>
  55.                         <!--{/if}-->
  56.                         <!--{if $post['authorid'] != $_G['uid']}-->
  57.                             <a href="javascript:;" onclick="showWindow('miscreport$post[pid]', 'misc.php?mod=report&rtype=post&rid=$post[pid]&tid=$_G[tid]&fid=$_G[fid]', 'get', -1);return false;">{lang report}</a>
  58.                         <!--{/if}-->
  59.                     <!--{/if}-->
  60.                 </p>

  61.                 <!--{if $_G['setting']['magicstatus']}-->
  62.                     <ul id="mgc_post_$post[pid]_menu" class="p_pop mgcmn" style="display: none;">
  63.                     <!--{if $post['first']}-->
  64.                         <!--{if !empty($_G['setting']['magics']['bump'])}-->
  65.                             <li><a href="home.php?mod=magic&mid=bump&idtype=tid&id=$_G[tid]" id="a_bump" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/bump.small.gif" />$_G['setting']['magics']['bump']</a></li>
  66.                         <!--{/if}-->
  67.                         <!--{if !empty($_G['setting']['magics']['stick'])}-->
  68.                             <li><a href="home.php?mod=magic&mid=stick&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/stick.small.gif" />$_G['setting']['magics']['stick']</a></li>
  69.                         <!--{/if}-->
  70.                         <!--{if !empty($_G['setting']['magics']['close'])}-->
  71.                             <li><a href="home.php?mod=magic&mid=close&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/close.small.gif" />$_G['setting']['magics']['close']</a></li>
  72.                         <!--{/if}-->
  73.                         <!--{if !empty($_G['setting']['magics']['open'])}-->
  74.                             <li><a href="home.php?mod=magic&mid=open&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/open.small.gif" />$_G['setting']['magics']['open']</a></li>
  75.                         <!--{/if}-->
  76.                         <!--{if !empty($_G['setting']['magics']['highlight'])}-->
  77.                             <li><a href="home.php?mod=magic&mid=highlight&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/highlight.small.gif" />$_G['setting']['magics']['highlight']</a></li>
  78.                         <!--{/if}-->
  79.                         <!--{if !empty($_G['setting']['magics']['sofa'])}-->
  80.                             <li><a href="home.php?mod=magic&mid=sofa&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/sofa.small.gif" />$_G['setting']['magics']['sofa']</a></li>
  81.                         <!--{/if}-->
  82.                         <!--{if !empty($_G['setting']['magics']['jack'])}-->
  83.                             <li><a href="home.php?mod=magic&mid=jack&idtype=tid&id=$_G[tid]" id="a_jack" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/jack.small.gif" />$_G['setting']['magics']['jack']</a></li>
  84.                         <!--{/if}-->
  85.                         <!--{hook/viewthread_magic_thread}-->
  86.                     <!--{/if}-->
  87.                     <!--{if !empty($_G['setting']['magics']['repent']) && $post['authorid'] == $_G['uid'] && !$rushreply}-->
  88.                         <li><a href="home.php?mod=magic&mid=repent&idtype=pid&id=$post[pid]:$_G[tid]" id="a_repent_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/bump.small.gif" />$_G['setting']['magics']['repent']</a></li>
  89.                     <!--{/if}-->
  90.                     <!--{if !empty($_G['setting']['magics']['anonymouspost']) && $post['authorid'] == $_G['uid']}-->
  91.                         <li><a href="home.php?mod=magic&mid=anonymouspost&idtype=pid&id=$post[pid]:$_G[tid]" id="a_anonymouspost_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/anonymouspost.small.gif" />$_G['setting']['magics']['anonymouspost']</a><li>
  92.                     <!--{/if}-->
  93.                     <!--{if !empty($_G['setting']['magics']['namepost'])}-->
  94.                         <li><a href="home.php?mod=magic&mid=namepost&idtype=pid&id=$post[pid]:$_G[tid]" id="a_namepost_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/namepost.small.gif" />$_G['setting']['magics']['namepost']</a><li>
  95.                     <!--{/if}-->
  96.                     <!--{hook/viewthread_magic_post $postcount}-->
  97.                     </ul>
  98.                     <script type="text/javascript" reload="1">checkmgcmn('post_$post[pid]')</script>
  99.                 <!--{/if}-->
  100.             </div>
  101.         </div>

  102.     </td>
  103. </tr>
  104. <!--{/if}-->
复制代码



回复

使用道具 举报

cr180 发表于 2011-10-7 22:17:39 | 显示全部楼层
第二步:

查找:
  1. <!--{ad/thread/a_pb/1/$postcount}-->
复制代码



下面增加:

  1. <!--{if !$_G['forum_thread']['archiveid']}-->
  2.         <div class="po">
  3.             <!--{if !$post['first'] && $modmenu['post']}-->
  4.                 <span class="y">
  5.                 <label for="manage$post[pid]">
  6.                 <input type="checkbox" id="manage$post[pid]" class="pc" {if !empty($modclick)}checked="checked" {/if}onclick="pidchecked(this);modclick(this, $post[pid])" value="$post[pid]" autocomplete="off" />
  7.                 {lang manage}
  8.                 </label>
  9.                 </span>
  10.             <!--{/if}-->
  11.             <div class="pob cl">
  12.                 <em>
  13.                     <!--{if $post['invisible'] == 0}-->
  14.                         <!--{if $allowpostreply}-->
  15.                             <!--{if $post['allowcomment'] && (!$thread['closed'] || $_G['forum']['ismoderator'])}--><a class="cmmnt" href="forum.php?mod=misc&action=comment&tid=$post[tid]&pid=$post[pid]&extra=$_G[gp_extra]&page=$page{if $_G['forum_thread']['special'] == 127}&special=$specialextra{/if}" onclick="showWindow('comment', this.href, 'get', 0)">{lang comments}</a><!--{/if}-->
  16.                             <!--{if !$needhiddenreply}-->
  17.                                 <!--{if $post['first']}-->
  18.                                     <a class="fastre" href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&reppost=$post[pid]&extra=$_G[gp_extra]&page=$page" onclick="showWindow('reply', this.href)">{lang reply}</a>
  19.                                 <!--{else}-->
  20.                                     <a class="fastre" href="forum.php?mod=post&action=reply&fid=$_G[fid]&tid=$_G[tid]&repquote=$post[pid]&extra=$_G[gp_extra]&page=$page" onclick="showWindow('reply', this.href)">{lang reply}</a>
  21.                                 <!--{/if}-->
  22.                             <!--{/if}-->
  23.                         <!--{/if}-->
  24.                     <!--{/if}-->
  25.                     <!--{if (($_G['forum']['ismoderator'] && $_G['group']['alloweditpost'] && (!in_array($post['adminid'], array(1, 2, 3)) || $_G['adminid'] <= $post['adminid'])) || ($_G['forum']['alloweditpost'] && $_G['uid'] && $post['authorid'] == $_G['uid'] && !(!$alloweditpost_status && $edittimelimit && TIMESTAMP - $post['dbdateline'] > $edittimelimit)))}-->
  26.                         <a class="editp" href="forum.php?mod=post&action=edit&fid=$_G[fid]&tid=$_G[tid]&pid=$post[pid]{if !empty($_G[gp_modthreadkey])}&modthreadkey=$_G[gp_modthreadkey]{/if}&page=$page"><!--{if $_G['forum_thread']['special'] == 2 && !$post['message']}-->{lang post_add_aboutcounter}<!--{else}-->{lang edit}</a><!--{/if}-->
  27.                     <!--{elseif $_G['uid'] && $post['authorid'] == $_G['uid']}-->
  28.                         <a class="appendp" href="forum.php?mod=misc&action=postappend&tid=$post[tid]&pid=$post[pid]&extra=$_G[gp_extra]&page=$page" onClick="showWindow('postappend', this.href, 'get', 0)">{lang postappend}</a>
  29.                     <!--{/if}-->
  30.                     <!--{if $post['first'] && $post['invisible'] == -3}-->
  31.                         <a class="psave" href="forum.php?mod=misc&action=pubsave&tid=$_G[tid]">{lang published}</a>
  32.                     <!--{/if}-->
  33.                     <!--{if $post['invisible'] == -2 && !$post['first']}-->
  34.                         <span class="xg1">({lang moderate_need})</span>
  35.                     <!--{/if}-->
  36.                     <!--{if $post['first'] && $allowblockrecommend}--><a class="push" href="javascript:;" onclick="modaction('recommend', '$_G[forum_firstpid]', 'op=recommend&idtype={if $_G[forum_thread][isgroup]}gtid{else}tid{/if}&id=$_G[tid]&pid=$post[pid]', 'portal.php?mod=portalcp&ac=portalblock')">{lang modmenu_blockrecommend}</a><!--{/if}-->
  37.                     <!--{hook/viewthread_postfooter $postcount}-->
  38.                 </em>

  39.                 <p>
  40.                     <!--{if $post['invisible'] == 0}-->
  41.                         <!--{if $_G['setting']['magicstatus']}-->
  42.                             <a href="javascript:;" id="mgc_post_$post[pid]" onmouseover="showMenu(this.id)" class="showmenu">{lang thread_magic}</a>
  43.                         <!--{/if}-->

  44.                         <!--{if $_G['forum_thread']['special'] == 3 && ($_G['forum']['ismoderator'] && (!$_G['setting']['rewardexpiration'] || $_G['setting']['rewardexpiration'] > 0 && ($_G[timestamp] - $_G['forum_thread']['dateline']) / 86400 > $_G['setting']['rewardexpiration']) || $_G['forum_thread']['authorid'] == $_G['uid']) && $post['authorid'] != $_G['forum_thread']['authorid'] && $post['first'] == 0 && $_G['uid'] != $post['authorid'] && $_G['forum_thread']['price'] > 0}-->
  45.                             <a href="javascript:;" onclick="setanswer($post['pid'], '$_G[gp_from]')">{lang reward_set_bestanswer}</a>
  46.                         <!--{/if}-->

  47.                         <!--{if !$post['first'] && $_G['group']['raterange'] && $post['authorid']}-->
  48.                             <a href="javascript:;" onclick="showWindow('rate', 'forum.php?mod=misc&action=rate&tid=$_G[tid]&pid=$post[pid]', 'get', -1);return false;">{lang rate}</a>
  49.                         <!--{/if}-->

  50.                         <!--{if $post['rate'] && $_G['forum']['ismoderator']}-->
  51.                             <a href="forum.php?mod=misc&action=removerate&tid=$_G[tid]&pid=$post[pid]&page=$page" onclick="showWindow('rate', this.href, 'get', -1)">{lang removerate}</a>
  52.                         <!--{/if}-->
  53.                         <!--{if $post['authorid'] != $_G['uid']}-->
  54.                             <a href="javascript:;" onclick="showWindow('miscreport$post[pid]', 'misc.php?mod=report&rtype=post&rid=$post[pid]&tid=$_G[tid]&fid=$_G[fid]', 'get', -1);return false;">{lang report}</a>
  55.                         <!--{/if}-->
  56.                     <!--{/if}-->
  57.                 </p>

  58.                 <!--{if $_G['setting']['magicstatus']}-->
  59.                     <ul id="mgc_post_$post[pid]_menu" class="p_pop mgcmn" style="display: none;">
  60.                     <!--{if $post['first']}-->
  61.                         <!--{if !empty($_G['setting']['magics']['bump'])}-->
  62.                             <li><a href="home.php?mod=magic&mid=bump&idtype=tid&id=$_G[tid]" id="a_bump" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/bump.small.gif" />$_G['setting']['magics']['bump']</a></li>
  63.                         <!--{/if}-->
  64.                         <!--{if !empty($_G['setting']['magics']['stick'])}-->
  65.                             <li><a href="home.php?mod=magic&mid=stick&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/stick.small.gif" />$_G['setting']['magics']['stick']</a></li>
  66.                         <!--{/if}-->
  67.                         <!--{if !empty($_G['setting']['magics']['close'])}-->
  68.                             <li><a href="home.php?mod=magic&mid=close&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/close.small.gif" />$_G['setting']['magics']['close']</a></li>
  69.                         <!--{/if}-->
  70.                         <!--{if !empty($_G['setting']['magics']['open'])}-->
  71.                             <li><a href="home.php?mod=magic&mid=open&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/open.small.gif" />$_G['setting']['magics']['open']</a></li>
  72.                         <!--{/if}-->
  73.                         <!--{if !empty($_G['setting']['magics']['highlight'])}-->
  74.                             <li><a href="home.php?mod=magic&mid=highlight&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/highlight.small.gif" />$_G['setting']['magics']['highlight']</a></li>
  75.                         <!--{/if}-->
  76.                         <!--{if !empty($_G['setting']['magics']['sofa'])}-->
  77.                             <li><a href="home.php?mod=magic&mid=sofa&idtype=tid&id=$_G[tid]" id="a_stick" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/sofa.small.gif" />$_G['setting']['magics']['sofa']</a></li>
  78.                         <!--{/if}-->
  79.                         <!--{if !empty($_G['setting']['magics']['jack'])}-->
  80.                             <li><a href="home.php?mod=magic&mid=jack&idtype=tid&id=$_G[tid]" id="a_jack" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/jack.small.gif" />$_G['setting']['magics']['jack']</a></li>
  81.                         <!--{/if}-->
  82.                         <!--{hook/viewthread_magic_thread}-->
  83.                     <!--{/if}-->
  84.                     <!--{if !empty($_G['setting']['magics']['repent']) && $post['authorid'] == $_G['uid'] && !$rushreply}-->
  85.                         <li><a href="home.php?mod=magic&mid=repent&idtype=pid&id=$post[pid]:$_G[tid]" id="a_repent_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/bump.small.gif" />$_G['setting']['magics']['repent']</a></li>
  86.                     <!--{/if}-->
  87.                     <!--{if !empty($_G['setting']['magics']['anonymouspost']) && $post['authorid'] == $_G['uid']}-->
  88.                         <li><a href="home.php?mod=magic&mid=anonymouspost&idtype=pid&id=$post[pid]:$_G[tid]" id="a_anonymouspost_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/anonymouspost.small.gif" />$_G['setting']['magics']['anonymouspost']</a><li>
  89.                     <!--{/if}-->
  90.                     <!--{if !empty($_G['setting']['magics']['namepost'])}-->
  91.                         <li><a href="home.php?mod=magic&mid=namepost&idtype=pid&id=$post[pid]:$_G[tid]" id="a_namepost_$post[pid]" onclick="showWindow(this.id, this.href)"><img src="{STATICURL}image/magic/namepost.small.gif" />$_G['setting']['magics']['namepost']</a><li>
  92.                     <!--{/if}-->
  93.                     <!--{hook/viewthread_magic_post $postcount}-->
  94.                     </ul>
  95.                     <script type="text/javascript" reload="1">checkmgcmn('post_$post[pid]')</script>
  96.                 <!--{/if}-->
  97.             </div>
  98.         </div>
  99. <!--{/if}-->
复制代码



回复

使用道具 举报

 楼主| 军刀闪亮 发表于 2011-10-1 16:42:15 | 显示全部楼层
居然没人
回复

使用道具 举报

briskvoice 发表于 2011-10-3 00:01:32 | 显示全部楼层
在common.css 中查找  width: 160px  对应的模块 应该有个padding 调下试试看
回复

使用道具 举报

 楼主| 军刀闪亮 发表于 2011-10-3 07:20:16 | 显示全部楼层
本帖最后由 军刀闪亮 于 2011-10-3 08:37 编辑
briskvoice 发表于 2011-10-3 00:01
在common.css 中查找  width: 160px  对应的模块 应该有个padding 调下试试看


你说的应该是module.css中的pls { width: 160px吧 定义左侧个人信息栏宽度的
我把这个模块下跟高度及边距有关的数据都改成0或删除也不行 左右宽度及边距倒是变了 但下方那个空白还是存在
回复

使用道具 举报

 楼主| 军刀闪亮 发表于 2011-10-3 07:30:37 | 显示全部楼层
我大概找到原因了 可我不会写
那个空白处应该是独立的一行表格 与viewthread_node.htm中<td class="pls" rowspan="2">里rowspan的定义有关 把 rowspan="2"改成3的话 那个空白处就没有了 但却跑到右侧的“回复”旁边了 不知道怎么写能够删除它 
回复

使用道具 举报

 楼主| 军刀闪亮 发表于 2011-10-3 09:10:39 | 显示全部楼层
本帖最后由 军刀闪亮 于 2011-10-3 09:11 编辑

基本上搞明白了 “回复、编辑”这个表格没有单独定义高度 它的高度由它距离帖子内容的高度所决定的
viewthread_node.htm中 把<td class="pls" rowspan="2">中的2改3
再删除viewthread_node.htm中的第一个<td class="pls"></td>
这样就把那个空白处去掉了 但“回复、编辑”这个表格却拉高了
还需要在module.css中修改它与帖子内容之间的距离
把module.css中.t_fsz { min-height: 100px; }中的100PX改大 如200或250PX才行
但这样一来 如果帖子中有签名图片的话 签名与帖子内容的距离也会增大 从而导致帖子的高度被拉的很高
所以现在的问题是怎么能独立定义“回复、编辑”这个表格的高度
回复

使用道具 举报

 楼主| 军刀闪亮 发表于 2011-10-5 09:25:04 | 显示全部楼层
本帖最后由 军刀闪亮 于 2011-10-5 09:43 编辑

暂时想到一个办法
为了与右侧对齐 在个人自信下面添加了一个空白表格进去
那就把个人信息下面的“加好友 发消息”这些东西 都放到viewthread_node.htm中的第一个<td class="pls"></td>这个空白表格的中间 再删除原来的代码
回复

使用道具 举报

 楼主| 军刀闪亮 发表于 2011-10-7 22:46:01 | 显示全部楼层
cr180 发表于 2011-10-7 22:17
第二步:

查找:

太感谢 测试非常完美 你真是个天才
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-5-3 06:50 , Processed in 0.117927 second(s), 24 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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