chinahtml新的循环子栏目标签模板 页面模板内容 <div class="leftTitle"> <h2>[!--the.classname--]</h2> <span><a href="[!--the.classurl--]">更多</a></span> </div> <div class="subleftList"> <ul> [!--empirenews.listtemp--]<!--list.var1-->[!--empirenews.listtemp--] </ul> </div> --------------------- 列表内容模板 <li><span>([!--newstime--])</span><a title="[!--oldtitle--]" href="[!--titleurl--]">[!--title--]</a></li> -------------------------- css是 /*test-lanmu*/ #mainleftlist{width:659px;border:1px solid #D0DBE7;margin:0 0 5px;} .leftTitle{clear:both;padding-left:8px;background:#E5ECF5 url(/images/tdot.gif) 8px 10px no-repeat;line-height:32px;height:30px;} .leftTitle h2{float:left;padding:0 0 0 12px;color:#1f3a87;font-size:14px;} .leftTitle span{float:right;padding-right:15px;} .subleftList{clear:both;background:#FFF;} .subleftList ul{float:left;padding:5px;} .subleftList li{float:left;padding:0 3px 0 15px;width:615px;background:url(/images/icon_li.gif) 5px 10px no-repeat;font-size:14px;text-align:left;line-height:28px;height:28px;} .subleftList li span{float:right;:;} /*test-lanmu*/
|