看板 Web_Design 關於我們 聯絡資訊
這是從網站建構百寶箱上抓的範例 長這樣 http://oz.nthu.edu.tw/~u922011/share/cc.htm 他會由上往下排 怎麼改讓他由左往右呢?? 我想過用table 可是排出來彼此間會有距離 我希望他是緊貼的 謝謝回答~ -- <style type="text/css"> <!-- div#links { position: relative; width: 150px; } div#links a { display: block; width: 150px; text-align: center; font-size: 9pt; padding: 5px 5px 5px 5px; margin: 0px 0 0 0; border-width: 1px; text-decoration: none; color: #FFC; background: #444; } div#links a:hover { color: #411; background: #AAA;} --> </style> <div id="links"> <a href=#>連結1</a> <a href=#>連結2</a> <a href=#>連結3</a> <a href=#>連結4</a> <a href=#>連結5</a> <a href=#>連結6</a> </div> -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 218.168.192.67 ※ 編輯: rainley 來自: 218.168.192.67 (03/19 15:18)