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건
+
제목 글쓴이 날짜 조회
12-09-05 조회 7,413
12-08-31 조회 5,859
12-08-30 조회 6,624
12-08-22 조회 1.2만
12-08-09 조회 5,650
12-08-02 조회 3,727
12-07-30 조회 4,094
12-07-15 조회 3,725
12-07-10 조회 3,625
12-07-06 조회 3,459
12-07-06 조회 3,438
12-07-03 조회 4,035
12-07-03 조회 3,522
12-07-02 조회 3,422
12-06-25 조회 3,919
12-06-20 조회 3,285
12-06-15 조회 3,871
12-06-14 조회 3,140
12-06-08 조회 3,924
12-06-07 조회 3,914
12-06-05 조회 5,788
12-06-05 조회 3,529
12-06-04 조회 3,869
12-06-01 조회 4,068
12-06-01 조회 4,803
12-06-01 조회 3,668
12-05-30 조회 3,199
12-05-28 조회 3,181
12-05-23 조회 3,282
12-05-18 조회 3,192
12-05-16 조회 3,240
12-05-16 조회 3,203
12-05-16 조회 4,471
12-05-16 조회 2,994
12-05-16 조회 2,983
12-05-16 조회 3,376
12-05-16 조회 3,140
12-05-16 조회 3,031
12-05-15 조회 3,199
12-05-15 조회 2,880
12-05-15 조회 3,123
12-05-15 조회 3,567
12-05-15 조회 3,296
12-05-15 조회 2,669
12-05-14 조회 2,714
12-05-14 조회 2,879
12-05-14 조회 2,850
12-05-14 조회 3,155
12-05-14 조회 2,981
12-05-11 조회 3,270
12-05-11 조회 2,799
12-05-11 조회 2,703
12-05-11 조회 2,811
12-05-11 조회 3,380
12-05-11 조회 2,560
12-05-10 조회 3,966
12-05-10 조회 2,809
12-05-10 조회 2,743
12-05-10 조회 2,883
12-05-10 조회 4,485
12-05-10 조회 2,522
12-05-10 조회 2,618
12-05-10 조회 2,481
12-05-10 조회 2,738
12-05-10 조회 3,188
12-05-10 조회 3,474
12-05-10 조회 2,711
12-05-10 조회 2,831
12-05-10 조회 3,323
12-05-10 조회 2,914
12-05-08 조회 3,104
12-05-08 조회 2,922
12-05-08 조회 2,945
12-05-08 조회 3,330
12-05-08 조회 4,519
12-05-03 조회 2,903
12-05-03 조회 3,006
12-05-03 조회 2,777
12-05-03 조회 3,833
12-05-03 조회 2,883
12-05-02 조회 2,923
12-04-27 조회 2,812
12-04-27 조회 2,883
12-04-27 조회 2,792
12-04-26 조회 2,754
12-04-26 조회 3,109
12-04-26 조회 3,044
12-04-26 조회 2,713
12-04-26 조회 3,038
12-04-26 조회 3,646
12-04-26 조회 2,921
12-04-26 조회 3,583
12-04-26 조회 2,645
12-04-26 조회 2,982
12-04-26 조회 2,718
12-04-26 조회 2,961
12-04-26 조회 2,725
12-04-26 조회 3,146
12-04-26 조회 3,189
12-04-26 조회 3,005