討論串[問題] class的應用 (CSS)
共 4 篇文章
首頁
上一頁
1
下一頁
尾頁

推噓2(2推 0噓 0→)留言2則,0人參與, 最新作者othree (OOO)時間18年前 (2007/07/13 14:08), 編輯資訊
0
0
0
內容預覽:
select .t1 是選擇 select 元件的子元件中,className有t1的. select, .t1 是選擇 select 元件和className有t1的元件. select.t1 是選擇 select 元件且className有t1. --. FrontPage is not a v

推噓1(1推 0噓 0→)留言1則,0人參與, 最新作者Grace5051 (愛哭鬼)時間18年前 (2007/07/13 09:26), 編輯資訊
0
0
0
內容預覽:
謝謝大家的幫忙. 雖然我這樣寫. select, .t1 {width:21em;}. select, .t2 {width:31em;}. 好像還是一樣. 所以我在t2的select中 自己加入 style="width:31em;". 然後t2就不要用class好了~. --. 只有t2 寬度不

推噓0(0推 0噓 0→)留言0則,0人參與, 最新作者othree (OOO)時間18年前 (2007/07/12 21:20), 編輯資訊
0
0
0
內容預覽:
select, t1 這樣會變成選擇select元件和t1元件(元件、標籤、物件...etc). 選擇class要用 .. 例如 .t1 就是class有t1的元件. select.t1 才是有t1這個class name的select元件. 所以你可能是改成. select.t1 {width:
(還有101個字)

推噓1(1推 0噓 2→)留言3則,0人參與, 最新作者Grace5051 (愛哭鬼)時間18年前 (2007/07/12 17:28), 編輯資訊
0
0
0
內容預覽:
我在html裡面. 定義了兩種的select class. <select class="t1">. <option value="aaa">. <option value="bbb">. </select>. <select class="t2">. <option value="ccc">. <
(還有26個字)
首頁
上一頁
1
下一頁
尾頁