看板 Web_Design 關於我們 聯絡資訊
tbody tr:nth-child(even) {background :red } tbody tr:nth-child(odd) {background: blue} 收工! ※ 引述《kokokokoko (22)》之銘言: : <% : Response.Write "<Tr>" : For I=0 To RS.Fields.Count-1 : Response.Write "<Td>" & RS(I).Name & "</Td>" : Next : Response.Write "</Tr>" : ===希望資料錄欄抬頭有顏色========以上 : Do While ((Rcount<RS.PageSize) And (Not RS.Eof)) : Response.Write "<Tr>" : For I=0 To RS.Fields.Count-1 : Response.Write "<Td>" & RS(I).Value & "</Td>" : Next : Response.Write "</Tr>" : RS.MoveNext : Rcount=Rcount+1 : Loop : %> : ========希望在資料錄內容中單樹跟偶數筆資料能有不同顏色作為分別===以上 : 希望有經驗的大大幫幫忙~小弟是ASP新手~感謝各位 -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 60.250.35.133 ※ 編輯: fotofolio 來自: 60.250.35.133 (08/20 22:06)
redming:原來CSS這麼好用 又學到一個了 不過這哪邊學的 囧 08/21 06:11
fotofolio:google css3 XD 08/21 09:09