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,187건
+
제목 글쓴이 날짜 조회
13-04-05 조회 7,222
13-04-05 조회 6,612
13-04-04 조회 4,115
13-04-02 조회 4,192
13-04-02 조회 6,146
13-04-02 조회 7,072
13-04-02 조회 7,443
13-04-02 조회 4,563
13-04-01 조회 4,061
13-04-01 조회 3,720
13-04-01 조회 3,674
13-03-31 조회 5,746
13-03-31 조회 5,918
13-03-31 조회 4,205
13-03-29 조회 5,692
13-03-28 조회 4,402
13-03-28 조회 1.1만
13-03-28 조회 4,577
13-03-28 조회 6,774
13-03-28 조회 9,248
13-03-28 조회 4,373
13-03-27 조회 5,694
13-03-27 조회 3,354
13-03-26 조회 4,131
13-03-25 조회 4,118
13-03-24 조회 4,123
13-03-24 조회 6,299
13-03-24 조회 4,012
13-03-23 조회 4,768
13-03-23 조회 4,141
13-03-23 조회 3,813
13-03-23 조회 4,581
13-03-22 조회 5,052
13-03-21 조회 4,387
13-03-21 조회 4,026
13-03-21 조회 4,703
13-03-21 조회 1.8만
13-03-21 조회 3,865
13-03-21 조회 3,623
13-03-20 조회 5,747
13-03-20 조회 1.2만
13-03-20 조회 4,335
13-03-20 조회 3,850
13-03-20 조회 4,321
13-03-20 조회 3,876
13-03-20 조회 3,955
13-03-20 조회 6,139
13-03-20 조회 4,202
13-03-20 조회 4,829
13-03-20 조회 3,759
13-03-19 조회 4,175
13-03-19 조회 5,892
13-03-18 조회 3,580
13-03-18 조회 4,294
13-03-18 조회 4,577
13-03-17 조회 5,112
13-03-16 조회 4,991
13-03-16 조회 5,445
13-03-14 조회 3,992
13-03-14 조회 4,034
13-03-14 조회 7,231
13-03-14 조회 4,416
13-03-14 조회 4,661
13-03-13 조회 8,414
13-03-13 조회 6,159
13-03-13 조회 5,165
13-03-12 조회 4,287
13-03-11 조회 6,623
13-03-11 조회 5,638
13-03-11 조회 5,203
13-03-10 조회 4,812
13-03-10 조회 4,577
13-03-10 조회 4,481
13-03-10 조회 4,273
13-03-09 조회 5,182
13-03-08 조회 4,654
13-03-08 조회 4,265
13-03-08 조회 5,315
13-03-08 조회 4,406
13-03-08 조회 5,026
13-03-07 조회 6,350
13-03-07 조회 3,933
13-03-07 조회 5,171
13-03-05 조회 3,830
13-03-04 조회 4,279
13-03-03 조회 5,062
13-03-03 조회 4,648
13-03-03 조회 7,528
13-03-03 조회 5,531
13-03-03 조회 5,822
13-03-03 조회 4,289
13-03-03 조회 1.2만
13-03-03 조회 6,298
13-03-01 조회 4,181
13-03-01 조회 4,055
13-03-01 조회 5,626
13-03-01 조회 8,368
13-03-01 조회 6,386
13-02-28 조회 4,398
13-02-28 조회 1.7만