列表橫排問題。,列表橫排問題
li-列表 內行 是個磨人的小妖精~
它其實是可以當做 自動有換行的 inline元素
所以列表橫排就是 li{ float:left; }
有點距離的橫排就要設定 padding
li{
float:left;
padding:15px;
}
很多導航都這麼做的呐呐呐~
對於asp列表橫排的問題
給我一分吧。我不要多,不要偶數的分數。
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0" bgcolor="#ffffff">
<tr>
<td width="15">
</td>
<td width="1114" valign="top"><table width="100%" height="75" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="2">
<table cellspacing="0" cellpadding="2" width="100%"
border="0">
<%
set conn=server.CreateObject("adodb.connection")
conn="provider=Microsoft.Jet.oledb.4.0;Data Source="&server.MapPath("wenzhang.mdb")
set Rs=server.createobject("adodb.recordset")
rs.open "select * from url order by id desc",conn,3,2
for i=1 to 5
%>
<td><table>
<tbody>
<tr>
<td align="left" nowrap="nowrap"><img src="txt.png" width="24" height="24" border="0" align="absmiddle" onClick="AddWin('read','查看文章','read.asp?id=<%=rs("id")%>',640,480,0,0)" /><br>
<%
if len(trim(rs("vname")))>5 then
response.Write left(trim(rs(&quo......餘下全文>>
dede列表翻頁問題,怎橫排?
樣式是由CSS來控制的,去css檔案中找 lb_fy li有沒有float:left。