• 2008年11月29日(土) 23:22 JST
  • 投稿者:
    augebang
  • 閲覧数
    2,460

サイト全体のリンクの色を変更したい

[tag:ProCSS逆引きCSS default.css]

 該当CSS 

default.css

該当プロパティー 

a:link, a:visited {
text-decoration: underline;
}

a:focus {
outline: thin dotted invert;
}

参考事例

サイト全体のリンクの色を変更する。

方法
プロパティー値にカラーを指定する。

a:link, a:visited {
color : #ffffff;
text-decoration: underline;
}

a:focus {
outline: thin dotted invert;
}

サイト全体のリンクの下線を装飾する。

方法
プロパティー値を組み込む。
text-decoration: none;(下線を消す)
text-decoration: underline;(下線を付ける)

a:link, a:visited {
#ffffff;
text-decoration: underline;
}

a:focus {
outline: thin dotted invert;
}

解説

ここで指定したリンク値は個別に指定しなおさない限りサイトで使用される。

トラックバック

このエントリのトラックバックURL:
http://gltmatrix.com/trackback.php/procssdefolink

サイト管理者はコメントに関する責任を負いません。