博达网站群网站建设制作设计中,如何让ul里li内容置顶css代码写法?
范例代码如下:
style="z-index: 999;position: absolute;"
<#list list_news as news>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td width="120" align="left">
<div>
<#if news.picUrl!=''>
<a href="${news.url}" target="_blank">
<img src="${news.picUrl}" style="width:180px; height:210px;" border="0">
</a>
<#else>
<img src="/static/image/teacher.jpg" style="width:180px; height:210px;" border="0">
</#if>
</div>
</td>
<td ALIGN=LEFT >
<ul style="padding-left:25px;z-index: 999;position: absolute;">
<li><DIV STYLE="font-size:18px; COLOR:#000; padding-bottom:4px; LINE-HEIGHT:30PX;" ALIGN="LEFT"><a href="${news.url}"><span STYLE="font-size:18px; COLOR:#000;" >${news.showTitle}</span></a></DIV></li>
<li><DIV STYLE="font-size:14px; COLOR:#999; LINE-HEIGHT:23PX;" ALIGN="LEFT">${news.showAbstract}</DIV></li>
</ul>
</td>
</tr>
</tbody>
</table>
<div style="padding: 6px 0px;"><hr style="border-bottom: #ccc 1px solid;"></div>
</#list>
${includePageBarCss}<div style="margin-top:10px;text-align:center;" class="pb_sys_common pb_sys_normal pb_sys_style1"><span class="p_t">共${totalCount}条</span> ${cssPageBar}</div>