看板 Web_Design 關於我們 聯絡資訊
請問我想要讓超連結在同一個div區塊 可是可以讓其中一縣市是被放大的 其他都還是原本大小並且有連結 要怎麼做呢? 我現在這樣設定可是台北還是承襲where a的樣式 並沒有套用到class樣式 . Html如下: <div id="where"> <span class="wherehightlight"><a href="#">台北</a></span> <a href="#">桃園</a> <a href="#">新竹</a> <a href="#"> 台中</a> <a href="#"> 高雄</a> </div> css: #where a:link{ color:#8E63B7; text-decoration: none; font-size:13px; } #where a:visited{color:#8E63B7; text-decoration: none; } #where a:hover{color:#8E63B7; text-decoration: underline; } #where a:active{ color:#8E63B7; text-decoration: none; } .wherehightlight { color:#eb0000; text-decoration: none; font-size:24px; } -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 60.251.154.220
xiphoid:改成http://pastebin.com/sQ6xNLZ1 06/23 12:35
ateclean:繼承關係中id的level比class高~ 06/24 00:43
ateclean:改成#where .wherehightlight a{...}試試看^^ 06/24 00:43