Re: [問題] class的應用 (CSS)

看板Web_Design作者 (OOO)時間18年前 (2007/07/13 14:08), 編輯推噓2(200)
留言2則, 2人參與, 最新討論串4/4 (看更多)
※ 引述《Grace5051 (愛哭鬼)》之銘言: : 謝謝大家的幫忙 : 雖然我這樣寫 : select, .t1 {width:21em;} : select, .t2 {width:31em;} select .t1 是選擇 select 元件的子元件中,className有t1的 select, .t1 是選擇 select 元件和className有t1的元件 select.t1 是選擇 select 元件且className有t1 : 好像還是一樣 : 所以我在t2的select中 自己加入 style="width:31em;" : 然後t2就不要用class好了~ -- FrontPage is not a visual web editor. It is an IE page editor. From "designing with web standards" by jeffery zeldman -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.118.5.39

07/13 18:08, , 1F
謝謝
07/13 18:08, 1F

07/13 22:24, , 2F
you're welcome
07/13 22:24, 2F
文章代碼(AID): #16bnRZIT (Web_Design)
文章代碼(AID): #16bnRZIT (Web_Design)