새소식

개발관련/Css

class 네임 OnMouseOver 먹게하기

  • -
SMALL

 

<style type='text/css'>
 
<!--
 
.A_ti{text-align:center;height:30px;border:2px solid #8080FF;padding:3px;line-height:30px;margin:5px;font-weight:12pt;font-weight:bold;}
 
.A_st_on{text-align:left;padding:0px;padding-left:10px;height:20px;border-bottom:1px solid #DEDEDE;line-height:20px;margin:0 10 0 10;background-color:#efefef;font-weight:bold;}
 
.A_st{text-align:left;padding:0px;padding-left:10px;height:20px;border-bottom:1px solid #DEDEDE;line-height:20px;margin:0 10 0 10;}
 
//-->
 
</style>

 
<div class='A_st' onmouseover="this.className='A_st_on'"  onmouseout="this.className='A_st'">카페폐쇠</div>
 

LIST

'개발관련 > Css' 카테고리의 다른 글

mouseover / out 시 css 클래스 동작하게 하기  (0) 2010.08.30
Contents

포스팅 주소를 복사했습니다

이 글이 도움이 되었다면 공감 부탁드립니다.