落伍者站长论坛's Archiver

phy99 发表于 2008-7-25 11:04

求救!dedecms企业空间首页图片怎么由竖排改为横排?

dedecms企业空间首页的图片怎么是竖排的?该怎样改成横排的呢?请指教!
代码如下:

<!—产品展示 -->
<div class="right_product">
<div class="right_product_title">
<ul><li>产品展示</li></ul>
</div>
<?php
if($products){
foreach($products as $product){
?>
<div class="right_img">
<a href="<?=$product['arcurl']?>"><img src="<?=$product['litpic']?>" /></a><br />
<a href="<?=$product['arcurl']?>"><?=$product['title']?></a>
</div>
<?php
}
}
?>

</div>



CSS代码:

/* 产品展示 */
.right_product { border:1px solid #b1c384; margin-top:10px; width:593px; float:left;height:150px; padding-bottom:10px; }
.right_product_title { background:url(../images/right_titlebg.gif) repeat-x; height:29px; }
.right_product_title ul { list-style:none; }
.right_product_title li{background:url(../images/title01.gif)no-repeat10px; height:29px;font-size:12px; color:#355b00;font-weight:bold;text-indent:30px;line-height:29px; }
.right_img { padding:10px 0px 10px 30px;}

[color=Red]试了好多办法都不行啊!哪位大侠指教一下?[/color]

[[i] 本帖最后由 phy99 于 2008-7-28 10:53 编辑 [/i]]

驴云 发表于 2008-7-25 11:21

<a href="<?=$product['arcurl']?>"><img src="<?=$product['litpic']?>" /></a><br />
<a href="<?=$product['arcurl']?>"><?=$product['title']?></a>


<br/>肯定是竖的了 取消看看

hkkok 发表于 2008-7-25 14:37

*** 作者被禁止或删除 内容自动屏蔽 ***

页: [1]

Powered by Discuz! Archiver 6.1.0  © 2001-2007 Comsenz Inc.