作者othree (OOO)
看板Web_Design
标题Re: [问题] class的应用 (CSS)
时间Fri Jul 13 14:08:33 2007
※ 引述《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
1F:推 Grace5051:谢谢 07/13 18:08
2F:推 othree:you're welcome 07/13 22:24