本帖最后由 cxgh 于 2008-12-17 08:22 编辑
调用标签是普通的显示图片文章的标签,如下:
{$GetPicArticle(1,0,true,0,1,false,false,0,1,4,130,90,24,46,false,1)}
注意所有的标签选择的是DIV模式的
------------------------------------------------------------------------------
CSS如下
.article{width:350px}
.article .pic_art_title a{color:#000;font-size:16px;font-family:"黑体";line-height:30px}
.article .pic_art_img{float:left;width:130px}
.article .pic_art_content,.article .pic_art_title{float:right;width:200px;line-height:20px}
代码:
<div class=article>{$GetPicArticle(1,0,true,0,1,false,false,0,1,4,130,90,24,46,false,1)}</div>
此主题相关图片如下:
____________________________________________
此主题相关图片如下:
CSS:
.article2 a{font-family:"黑体"; font-size:16px;color:#000; display:block;text-align:center;width:350px;line-height:30px}
.article2{width:350px;line-height:150%;}
_____________________
此主题相关图片如下:
{$GetArticleList(1,0,true,0,0,1,false,false,"",0,1,5,30,80,false,0,false,false,0,false,false,false,false,false,false,0,1,,article2,)}
--------------------------------------------------------------------------------
此主题相关图片如下:
<div id="yanshi" align="center">
<!--{$GetPicArticle(1,0,false,0,4,false,false,0,1,4,100,110,16,0,false,1)}-->
</div>
#yanshi .pic1{border:#F8F8F8 solid 4px}
#yanshi .pic_art_img{border:#aaa solid 1px;border-bottom:0px}
#yanshi .pic_art_title{width:110px;line-height:20px;text-align:center;border:#aaa solid 1px;border-top:0px}
#yanshi .pic_art{border:#E9E9E9 solid 2px;width:105px;background:#f3f3f3;margin:5px}
(如果增加了缩略图大小这里的width:110px以及width:105px应该分别增加大小,否则在IE7中会显示错误) |