Re: 請問對選單做感應區

看板Web_Design作者 (老公老王傻傻分不清楚! B)時間19年前 (2006/06/30 02:53), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/3 (看更多)
copy他的css ============================ <style> div#links {position: absolute; top: 81px; left: 0; width: 166px; height: 700px; font: 16px Verdana, sans-serif; } div#links a {display: block; text-align: center; font: bold 1em sans-serif; padding: 5px 10px; margin: 0 0 1px; border-width: 0; text-decoration: none; color: #FFC; background: #446688; border-right: 5px solid #505050;} div#links a:hover {color: #002244; background: #AAA; border-right: 5px double white;} div#links a span {display: none;} div#links a:hover span {display: block; position: absolute; top: 210px; left: 0; width: 125px; padding: 5px; margin: 10px; z-index: 100; color: #AAA; background: black; font: 10px Verdana, sans-serif; text-align: center;} </style> <div id=links> <a href=#>a <span>testa</span></a> <a href=#>b <span>testb</span></a> <a href=#>c <span>testc</span></a> <a href=#>d <span>testd</span></a> </div> 原來CSS也可以到達這樣的境界 XD -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.161.99.145
文章代碼(AID): #14f26zRw (Web_Design)
文章代碼(AID): #14f26zRw (Web_Design)