リンクをクリックした時に点線を表示させない方法
2009 年 5 月 12 日 火曜日ページ内表示を切り替える時など、点線が表示されない方が良い場合もある。
この場合は、<a href="#" onFocus="this.blur()">などのようにonFocus="this.blur()"を追加すれば表示されない。
ページ内表示を切り替える時など、点線が表示されない方が良い場合もある。
この場合は、<a href="#" onFocus="this.blur()">などのようにonFocus="this.blur()"を追加すれば表示されない。
Internet Explorer 8でデザインが崩れる場合、<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />をhead間に挿入する事でInternet Explorer 7にデザインを合わせる事ができる。
参考:http://www.atmarkit.co.jp/fdotnet/special/ie8review/ie8review_01.html
target="_blank"を使用
◆Sample
<a href="http://addressname.net/" target="_blank">リンクページ</a>