代码问题,求大神帮我看下这个代码。想让这3组DIV显示在一排,不知道怎么弄, 5
{if$DT[page_special]}<divclass="box_head_1"><div><spanclass="f_r"><ahref="{$MODULE[11...
{if $DT[page_special]}
<div class="box_head_1"><div><span class="f_r"><a href="{$MODULE[11][linkurl]}">更多..</a></span><a href="{$MODULE[11][linkurl]}"><strong>推荐专题</strong></a></div>
</div>
<div class="box_body li_dot f_gray">
<!--{php $tags=tag("moduleid=11&condition=status=3 and level>0&pagesize=".$DT[page_special]."&datetype=2&order=addtime desc&template=null");}-->
{loop $tags $t}
<div class="imgtxt">
<p><a href="{$t[linkurl]}" target="_blank" title="{$t[alt]}">{$t[title]}</a></p>
<div><a href="{$t[linkurl]}" target="_blank"><img src="{$t[thumb]}" width="100" alt="{$t[alt]}"/></a> {dsubstr($t[introduce], 90, '..')} <a href="{$t[linkurl]}" target="_blank"><em>[详细]</em></a></div>
</div>
{/loop}
<div class="b5 c_b"></div>
</div>
<div class="b10"> </div>
{/if}
<div class="m_h f_r">
{if $DT[page_group]}
<div class="box_head_1"><div><span class="f_r"><a href="{$MODULE[17][linkurl]}">更多..</a></span><a href="{$MODULE[17][linkurl]}"><strong>今日团批</strong></a></div>
</div>
<div class="box_body li_dot f_gray">
<!--{php $tags=tag("moduleid=17&condition=status=3 and level>0&areaid=$cityid&pagesize=".$DT[page_group]."&datetype=2&order=addtime desc&template=null");}-->
{loop $tags $t}
<div class="imgtxt">
<div><a href="{$t[linkurl]}" target="_blank"><img src="{$t[thumb]}" width="100" alt="{$t[alt]}"/></a> <a href="{$t[linkurl]}" target="_blank" title="{$t[alt]}" class="f_b px13">{$t[title]}</a><br/><cite>¥{$t[price]}</cite> {$t[discount]}折 <a href="{$t[linkurl]}" target="_blank"><em>[参团]</em></a></div>
</div>
{/loop}
<div class="b5 c_b"></div>
</div>
{/if}
<div class="m b10"> </div>
<div class="m_n f_l float=right"> </div>
<div class="m_r f_l">
{if $DT[page_com]}
<div class="tab_head">
<ul>
<li class="tab_2" id="com_t_1" onmouseover="Tb(1, 2, 'com', 'tab');"><a href="{$MODULE[4][linkurl]}">{VIP}企业</a></li>
<li class="tab_1" id="com_t_2" onmouseover="Tb(2, 2, 'com', 'tab');"><a href="{$MODULE[4][linkurl]}">最新企业</a></li>
<li> <a href="{$MODULE[2][linkurl]}grade.php" class="f_n">如何加入?</a></li>
</ul>
</div>
<div class="box_body li_dot">
<div id="com_c_1" style="display:">
<!--{tag("moduleid=4&condition=vip>0 and catids<>''&areaid=$cityid&pagesize=".$DT[page_com]."&order=fromtime desc&template=list-com")}-->
</div>
<div id="com_c_2" style="display:none">
<!--{tag("moduleid=4&condition=groupid>5 and catids<>''&areaid=$cityid&pagesize=".$DT[page_com]."&order=userid desc&template=list-com")}-->
</div>
现在是竖排着的,怎样做成横排的 展开
<div class="box_head_1"><div><span class="f_r"><a href="{$MODULE[11][linkurl]}">更多..</a></span><a href="{$MODULE[11][linkurl]}"><strong>推荐专题</strong></a></div>
</div>
<div class="box_body li_dot f_gray">
<!--{php $tags=tag("moduleid=11&condition=status=3 and level>0&pagesize=".$DT[page_special]."&datetype=2&order=addtime desc&template=null");}-->
{loop $tags $t}
<div class="imgtxt">
<p><a href="{$t[linkurl]}" target="_blank" title="{$t[alt]}">{$t[title]}</a></p>
<div><a href="{$t[linkurl]}" target="_blank"><img src="{$t[thumb]}" width="100" alt="{$t[alt]}"/></a> {dsubstr($t[introduce], 90, '..')} <a href="{$t[linkurl]}" target="_blank"><em>[详细]</em></a></div>
</div>
{/loop}
<div class="b5 c_b"></div>
</div>
<div class="b10"> </div>
{/if}
<div class="m_h f_r">
{if $DT[page_group]}
<div class="box_head_1"><div><span class="f_r"><a href="{$MODULE[17][linkurl]}">更多..</a></span><a href="{$MODULE[17][linkurl]}"><strong>今日团批</strong></a></div>
</div>
<div class="box_body li_dot f_gray">
<!--{php $tags=tag("moduleid=17&condition=status=3 and level>0&areaid=$cityid&pagesize=".$DT[page_group]."&datetype=2&order=addtime desc&template=null");}-->
{loop $tags $t}
<div class="imgtxt">
<div><a href="{$t[linkurl]}" target="_blank"><img src="{$t[thumb]}" width="100" alt="{$t[alt]}"/></a> <a href="{$t[linkurl]}" target="_blank" title="{$t[alt]}" class="f_b px13">{$t[title]}</a><br/><cite>¥{$t[price]}</cite> {$t[discount]}折 <a href="{$t[linkurl]}" target="_blank"><em>[参团]</em></a></div>
</div>
{/loop}
<div class="b5 c_b"></div>
</div>
{/if}
<div class="m b10"> </div>
<div class="m_n f_l float=right"> </div>
<div class="m_r f_l">
{if $DT[page_com]}
<div class="tab_head">
<ul>
<li class="tab_2" id="com_t_1" onmouseover="Tb(1, 2, 'com', 'tab');"><a href="{$MODULE[4][linkurl]}">{VIP}企业</a></li>
<li class="tab_1" id="com_t_2" onmouseover="Tb(2, 2, 'com', 'tab');"><a href="{$MODULE[4][linkurl]}">最新企业</a></li>
<li> <a href="{$MODULE[2][linkurl]}grade.php" class="f_n">如何加入?</a></li>
</ul>
</div>
<div class="box_body li_dot">
<div id="com_c_1" style="display:">
<!--{tag("moduleid=4&condition=vip>0 and catids<>''&areaid=$cityid&pagesize=".$DT[page_com]."&order=fromtime desc&template=list-com")}-->
</div>
<div id="com_c_2" style="display:none">
<!--{tag("moduleid=4&condition=groupid>5 and catids<>''&areaid=$cityid&pagesize=".$DT[page_com]."&order=userid desc&template=list-com")}-->
</div>
现在是竖排着的,怎样做成横排的 展开
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询