HTML Source 테이블에 마우스오버 적용하기 <body>와</body>사이의 테이블 안(td, tr, table 중 선택)에 아래 소스를 추가합니다. ------------------------------------------------------------------------------------------- onmouseover="this.style.backgroundColor='#9FB6FF'" onmouseout="this.style.backgroundColor=''"
-------------------------------------------------------------------------------------------
아래처럼 하시면 되겠죠. 특정 셀에 적용할 때는
<td onmouseover="this.style.backgroundColor='#9FB6FF'" onmouseout="this.style.backgroundColor=''"> 특정 줄에 적용할 때는
<tr onmouseover="this.style.backgroundColor='#9FB6FF'" onmouseout="this.style.backgroundColor=''"> 테이블 전체에 적용할 때는
<table onmouseover="this.style.backgroundColor='#9FB6FF'" onmouseout="this.style.backgroundColor=''"> 색번호 #9FB6FF 는 마우스커서가 올라가면 변하는 색입니다.
by Anna 안나 2008. 2. 26. 14:38