<style type="text/css">
<!--
a:link {
color: #333333;
}
a:visited {
color: #333333;
}
a:hover {
color: #333333;
}
a:active {
color: #333333;
}
-->
</style>
<!--
a:link {
color: #333333;
}
a:visited {
color: #333333;
}
a:hover {
color: #333333;
}
a:active {
color: #333333;
}
-->
</style>
이거 적용시켰는데요 그런데 전체 링크색상이랑 다바껴요
a때문인거같은데 다른글씨넣고 id불러오기도안되던데
CSS이름 BT로 바꿀려고하는데 어떻에하나요?;;
css는 안배우고 바로 php배워서 먼 소린지 이해가안가요~ ㅠㅠ;;
부탁드려요
댓글 6개
13년 전
설명
지금보시는바와 같이 <body> 부분에 전체 링크색상을지정해주신것인지요?
개별로 불러오려면 아이디나 클래스에 개별지정해주어야할겁니다.
각속성의 설명
A:link -> 링크가 걸려있는 경우
A:visited -> 링크클 방문했을 경우
A:active -> 방문중인 링크란 의미
A:hover -> 링크에 마우스를 가져갔을때
지금보시는바와 같이 <body> 부분에 전체 링크색상을지정해주신것인지요?
개별로 불러오려면 아이디나 클래스에 개별지정해주어야할겁니다.
각속성의 설명
A:link -> 링크가 걸려있는 경우
A:visited -> 링크클 방문했을 경우
A:active -> 방문중인 링크란 의미
A:hover -> 링크에 마우스를 가져갔을때
13년 전
답변부탁드려요^^ 해결안되었어요 이해가^^;;
aequum
13년 전
<!doctype html>
<html>
<head></head>
<body>
<style>
a:link { color:red;}
a:visited { color:red; }
a:hover { color:red;}
a:active { color:red;}
a.some:link { color:green;}
a.some:visited { color:green;}
a.some:hover { color:green;}
a.some:active { color:green;}
.test a:link { color:blue;}
.test a:visited { color:blue;}
.test a:hover { color:blue;}
.test a:active { color:blue;}
</style>
<a href="#">red</a>
<a href="#" class="some">green</a>
<span class="test"><a href="#">blue</a></span>
</body>
</html>
---
아마도 이런 것? 하나씩은 위애 항해님 리플 참고 ㅎ
예제로 확인해보세요....
<html>
<head></head>
<body>
<style>
a:link { color:red;}
a:visited { color:red; }
a:hover { color:red;}
a:active { color:red;}
a.some:link { color:green;}
a.some:visited { color:green;}
a.some:hover { color:green;}
a.some:active { color:green;}
.test a:link { color:blue;}
.test a:visited { color:blue;}
.test a:hover { color:blue;}
.test a:active { color:blue;}
</style>
<a href="#">red</a>
<a href="#" class="some">green</a>
<span class="test"><a href="#">blue</a></span>
</body>
</html>
---
아마도 이런 것? 하나씩은 위애 항해님 리플 참고 ㅎ
예제로 확인해보세요....
JMoon
13년 전
어짜피 링크나 일반텍스트나 모든 색깔을 똑같이 하려면
<div style="color:#333;">글자를 넣으세요</div>
이런식으로 하면 편해요~
<div style="color:#333;">글자를 넣으세요</div>
이런식으로 하면 편해요~
aequum
13년 전
링크는 안되죠. :hover 같은 pseudo-class는 부모 요소의 style 속성에 우선해요
aequum
13년 전
아 죄송합니다. 다시보니 '<a style="color:red">글자색</a>'를 말하는 것 같네요. 편하다는 말씀에... 블록요소인지라 부모에서 설정하면 영향받는다는 글로 이해했네요.
등장하는 anchor 요소가 많다면... 하나씩 다 style을 설정해야 하기에... 다소...
등장하는 anchor 요소가 많다면... 하나씩 다 style을 설정해야 하기에... 다소...
게시판 목록
프로그램
| 번호 | 제목 | 글쓴이 | 날짜 | 조회 |
|---|---|---|---|---|
| 8230 | 9년 전 | 86 | ||
| 8229 | 9년 전 | 83 | ||
| 8228 |
커네드커네드
|
9년 전 | 123 | |
| 8227 | 9년 전 | 136 | ||
| 8226 | 9년 전 | 176 | ||
| 8225 | 9년 전 | 161 | ||
| 8224 | 9년 전 | 156 | ||
| 8223 | 9년 전 | 123 | ||
| 8222 |
|
9년 전 | 201 | |
| 8221 | 9년 전 | 101 | ||
| 8220 | 9년 전 | 117 | ||
| 8219 | 9년 전 | 109 | ||
| 8218 | 9년 전 | 157 | ||
| 8217 |
star3840
|
9년 전 | 122 | |
| 8216 | 9년 전 | 169 | ||
| 8215 | 9년 전 | 129 | ||
| 8214 | 9년 전 | 231 | ||
| 8213 | 9년 전 | 173 | ||
| 8212 | 9년 전 | 88 | ||
| 8211 | 9년 전 | 264 | ||
| 8210 | 9년 전 | 256 | ||
| 8209 | 9년 전 | 345 | ||
| 8208 | 9년 전 | 234 | ||
| 8207 | 9년 전 | 241 | ||
| 8206 |
|
9년 전 | 203 | |
| 8205 | 9년 전 | 180 | ||
| 8204 | 9년 전 | 145 | ||
| 8203 | 9년 전 | 240 | ||
| 8202 | 9년 전 | 153 | ||
| 8201 | 9년 전 | 188 | ||
| 8200 | 9년 전 | 173 | ||
| 8199 | 9년 전 | 227 | ||
| 8198 | 9년 전 | 185 | ||
| 8197 | 9년 전 | 175 | ||
| 8196 | 9년 전 | 563 | ||
| 8195 | 9년 전 | 172 | ||
| 8194 | 9년 전 | 292 | ||
| 8193 | 9년 전 | 166 | ||
| 8192 | 9년 전 | 208 | ||
| 8191 | 9년 전 | 155 | ||
| 8190 | 9년 전 | 147 | ||
| 8189 | 9년 전 | 202 | ||
| 8188 | 9년 전 | 139 | ||
| 8187 | 9년 전 | 158 | ||
| 8186 | 9년 전 | 151 | ||
| 8185 | 9년 전 | 326 | ||
| 8184 | 9년 전 | 116 | ||
| 8183 | 9년 전 | 335 | ||
| 8182 | 9년 전 | 181 | ||
| 8181 | 9년 전 | 146 | ||
| 8180 | 9년 전 | 710 | ||
| 8179 | 9년 전 | 499 | ||
| 8178 | 9년 전 | 318 | ||
| 8177 |
kiplayer
|
9년 전 | 340 | |
| 8176 | 9년 전 | 366 | ||
| 8175 | 9년 전 | 236 | ||
| 8174 | 9년 전 | 259 | ||
| 8173 | 9년 전 | 354 | ||
| 8172 | 9년 전 | 212 | ||
| 8171 | 9년 전 | 191 | ||
| 8170 | 9년 전 | 306 | ||
| 8169 |
커네드커네드
|
9년 전 | 264 | |
| 8168 | 9년 전 | 330 | ||
| 8167 | 9년 전 | 328 | ||
| 8166 | 9년 전 | 246 | ||
| 8165 | 9년 전 | 182 | ||
| 8164 | 9년 전 | 311 | ||
| 8163 | 9년 전 | 294 | ||
| 8162 | 9년 전 | 311 | ||
| 8161 | 9년 전 | 306 | ||
| 8160 |
|
9년 전 | 504 | |
| 8159 | 9년 전 | 437 | ||
| 8158 | 9년 전 | 264 | ||
| 8157 | 9년 전 | 392 | ||
| 8156 | 9년 전 | 281 | ||
| 8155 | 9년 전 | 264 | ||
| 8154 |
00년생용띠
|
9년 전 | 609 | |
| 8153 | 9년 전 | 243 | ||
| 8152 |
|
9년 전 | 420 | |
| 8151 | 9년 전 | 421 | ||
| 8150 | 9년 전 | 517 | ||
| 8149 |
Jangfolk
|
9년 전 | 357 | |
| 8148 | 9년 전 | 181 | ||
| 8147 | 9년 전 | 386 | ||
| 8146 | 9년 전 | 454 | ||
| 8145 | 9년 전 | 398 | ||
| 8144 | 9년 전 | 362 | ||
| 8143 | 9년 전 | 208 | ||
| 8142 | 9년 전 | 436 | ||
| 8141 | 9년 전 | 387 | ||
| 8140 | 9년 전 | 939 | ||
| 8139 | 9년 전 | 273 | ||
| 8138 |
전갈자리남자
|
9년 전 | 398 | |
| 8137 | 9년 전 | 407 | ||
| 8136 | 9년 전 | 758 | ||
| 8135 |
|
9년 전 | 804 | |
| 8134 |
PlayPixel
|
9년 전 | 526 | |
| 8133 |
|
9년 전 | 452 | |
| 8132 | 9년 전 | 465 | ||
| 8131 | 9년 전 | 824 |
댓글 작성
댓글을 작성하시려면 로그인이 필요합니다.
로그인하기