s

하이퍼링크에 여러가지 스타일만들기

<head>
<title> stylesheet : rollover text</title>
<meta http-equiv=content-type content="text/html; charset=euc-kr">
<style>

A:link.test1 { color: blue }
A:hover.test1 { color: red }

A:link.test2 { color: blue }
A:hover.test2 { font-size:15pt }

A:link.test3 { color: blue }
A:hover.test3 { font-weight: bold; font-style: italic }

A:link.test4 { text-decoration: none; color: blue }
A:visited.test4 { text-decoration: none }
A:hover.test4 { background: cyan; color:blue }

A:link.test5 { color: blue }
A:hover.test5 { font-family:궁서; font-weight: bold; font-size: 12pt }

A:link.test6 { color: blue; text-decoration: none }
A:visited.test6 { text-decoration: none }
A:hover.test6 { text-decoration: underline; color:red }

A:link.test7 { color: blue }
A:hover.test7 { color: darkred; font-weight: bold; background:#FFC1C1 }

A:link.test8 { color: blue; text-decoration: none }
A:visited.test8 { text-decoration: none }
A:hover.test8 { color: darkred; font-weight: bold; background:#FFC1C1 ; border:15 solid brown; padding:5px }


.batang {font-family:돋움;
font-size:10pt;
line-height:170%;
letter-spacing:-1px;
text-align:justify;
margin-top:0;
margin-bottom:0;
width:350px;
padding-top:20px;
border-top:10px cyan solid;}/*바탕글*/

.title { filter:shadow(color=#00008B, direction=135) ;
width:600px;
font-family:바탕;
font-weight:900;
font-size:30pt;
color:#90EE90 ;
line-height:300%;
}

ul.hover {list-style:none}
</style>
</head>

<body bgcolor=cccccc>
<table align=center width="569">
<tr>
<td width="563">
<div class="title">글자 롤오버</div>
<div class=batang>
자바스크립트 없이는 롤오버 단추를 만들 수가 없었습니다.
물론 자바스크립트를 쓰면 글자뿐만이 아니라 좀더 선택의 폭이 커집니다.
그러나 글자만으로 롤오버단추를 만든다면 스타일시트만으로도 충분합니다.
얼마든지 멋진 효과를 만들 수 있습니다. 이것들은 모두 <span style="letter-spacing:1px; font-family: times new roman; font-weight:bold; font-size=12pt; color:#696969;">IE5.xx</span> 이상에서만 지원됩니다.
<ol>
<li><a href=" http://www.how2homepage.com " class=test1>글자 색깔이 바뀝니다</a>
<li><a href=" http://www.how2homepage.com" class=test2>글자 크기가 바뀝니다</a>
<li><a href=" target='_blank'> http://www.how2homepage.com " class=test3>글자가 두꺼워지고 이탤릭으로 바뀝니다</a>
<li><a href=" http://www.how2homepage.com " class=test4>배경 색깔이 바뀝니다</a>
<li><a href=" http://www.how2homepage.com " class= test5>아예 글꼴이 바뀝니다</a>
<li><a href= " http://www.how2homepage.com " class=test6>색깔이 바뀌고 밑줄이 생깁니다</a>
<li><a href="http://www.how2homepage.com" class=test7>글자 색깔과 배경, 글자 두께가 바뀝니다</a>
<li><a href="http://www.how2homepage.com" class=test8>테두리 선까지도 굵게 해줄 수 있습니다</a>
</ol>
</div>

</td>
</tr>
</table>
</body>


</body>
|

댓글 1개

좋은 정보 감사합니다.^^*
댓글을 작성하시려면 로그인이 필요합니다.

프로그램

8,188건
+
제목 글쓴이 날짜 조회
13-03-03 조회 6,247
13-03-01 조회 5,574
13-03-01 조회 8,318
13-03-01 조회 6,315
13-02-26 조회 3,923
13-02-26 조회 3,867
13-02-26 조회 4,761
13-02-24 조회 8,174
13-02-24 조회 4,259
13-02-24 조회 3,502
13-02-24 조회 5,318
13-02-24 조회 5,309
13-02-24 조회 4,376
13-02-24 조회 5,712
13-02-24 조회 9,402
13-02-14 조회 5,111
13-02-13 조회 9,040
13-01-29 조회 7,686
13-01-24 조회 5,033
13-01-24 조회 4,908
13-01-17 조회 4,317
13-01-16 조회 4,350
13-01-08 조회 4,402
12-12-27 조회 4,061
12-12-20 조회 1.1만
12-12-20 조회 3,383
12-12-06 조회 4,371
12-12-01 조회 4,133
12-11-28 조회 5,699
12-11-25 조회 5,405
12-10-20 조회 4,668
12-10-03 조회 4,831
12-09-26 조회 4,994
12-09-15 조회 8,449
12-09-14 조회 5,463
12-09-11 조회 3,972
12-09-10 조회 3,982
12-09-05 조회 8,863
12-08-29 조회 4,662
12-08-26 조회 3,794
12-08-23 조회 3,493
12-08-22 조회 3,578
12-08-22 조회 4,391
12-08-21 조회 3,536
12-08-20 조회 3,462
12-08-20 조회 9,262
12-08-15 조회 4,381
12-08-13 조회 3,299
12-08-11 조회 4,719
12-08-05 조회 4,569
12-08-03 조회 3,350
12-08-03 조회 4,042
12-08-02 조회 5,024
12-07-29 조회 4,136
12-07-26 조회 3,713
12-07-26 조회 3,581
12-07-22 조회 3,494
12-07-20 조회 3,330
12-07-19 조회 4,192
12-07-19 조회 3,452
12-07-16 조회 3,564
12-07-16 조회 4,485
12-07-15 조회 3,561
12-07-12 조회 7,389
12-07-12 조회 5,035
12-07-11 조회 3,080
12-07-09 조회 3,240
12-07-05 조회 3,853
12-07-04 조회 4,423
12-07-04 조회 3,829
12-07-04 조회 4,350
12-06-29 조회 3,817
12-06-27 조회 3,409
12-06-24 조회 3,881
12-06-22 조회 4,193
12-06-22 조회 8,603
12-06-22 조회 3,258
12-06-21 조회 3,288
12-06-17 조회 3,916
12-06-14 조회 4,016
12-06-14 조회 3,300
12-06-08 조회 4,446
12-06-06 조회 3,409
12-06-04 조회 4,164
12-05-26 조회 4,979
12-05-26 조회 3,935
12-05-25 조회 3,232
12-05-24 조회 3,332
12-05-22 조회 3,379
12-05-20 조회 3,004
12-05-16 조회 3,138
12-05-15 조회 3,534
12-05-10 조회 3,965
12-05-08 조회 3,487
12-05-04 조회 3,342
12-05-03 조회 4,296
12-05-02 조회 3,430
12-05-02 조회 3,205
12-05-02 조회 3,304
12-04-26 조회 3,452