主题 : 栏目内容跟时间为什么是分行显示的?
级别: 秀才
UID: 358
积分:17 加为好友
威望: 0 精华: 0
主题:3 回复:1
注册时间:2009-08-06
在线时长:0
1#   发表于:2009-08-06 12:53:27  IP:218.246.*.*
<table height="37" cellspacing="0" cellpadding="0" width="405" border="0">
                        <tbody>
                          <tr>
                            <td background="${root}/default/article/dl-img/zhongbg.jpg">

<table height="37" cellspacing="0" cellpadding="0" width="100%" border="0">
                              <tbody>
                                <tr>
                                  <td width="17%"> <img height="37" alt="" width="43" src="${root}/default/article/dl-img/dongtaibiao.jpg" /></td>
                                  <td class="font14" width="83%"><b>工作动态</b></td>
                                </tr>
                              </tbody>
                            </table>
                            </td>
                          </tr>
                          <tr>
                            <td>
                            <div>[@cms.ArtiList chnlId='' count='9' sysContent='1-1' orderBy='0' titLen='25' lineHeight='3' dateFormat='4' datePosition='2' headMark='3' target='1'/]</div>
                            </td>
                          </tr>
                        </tbody>
                      </table>
显示的图片[localimg]1[/localimg]
级别: 白丁
UID: 3
积分:2415 加为好友
威望: 0 精华: 0
主题:23 回复:1614
注册时间:2009-06-02
在线时长:0
2#   发表于:2009-08-06 14:36:40  IP:59.133.*.*
出现这个问题主要是样式导致的
1、检查是否引入了标签的通用样式:<link href="${sysResRoot}/front.css" type="text/css" rel="stylesheet" />
2、适当把标题显示长度减小,这样就不会把时间挤到下行显示,即把@cms.ArtiList标签中titLen属性的值减小点
生命在于折腾!
1 共1页