Re: [問題] 請問如何在秀出的資料錄上加上不同顏色

看板Web_Design作者 (...)時間14年前 (2009/08/20 22:05), 編輯推噓1(101)
留言2則, 2人參與, 最新討論串4/5 (看更多)
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)

08/21 06:11, , 1F
原來CSS這麼好用 又學到一個了 不過這哪邊學的 囧
08/21 06:11, 1F

08/21 09:09, , 2F
google css3 XD
08/21 09:09, 2F
文章代碼(AID): #1AZLW_SZ (Web_Design)
討論串 (同標題文章)
文章代碼(AID): #1AZLW_SZ (Web_Design)