Re: [問題] class的應用 (CSS)
※ 引述《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
07/13 22:24, 2F
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 4 之 4 篇):