+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

5 of 10 people (50%) answered Yes
Recently 5 of 10 people (50%) answered Yes


Is it possible to change the color of the text inside the <td> when mouse over the cell?

Jun 9th, 2009 15:05
forum net tr, osama said, i can do it, Jason Ross, Ruel Dizon,

yes. the easiest way is to use css. sample code follows:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-
<style type="text/css">
// This sets the font color during the mouseover
.on {
	color: #CC0000;
// This returns the font back to the normal color on mouseout
.off {
	color: #000000;
<body text="#000000" bgcolor="#FFFFFF">
<table width="90%" border="1" cellspacing="1" cellpadding="1">
      <td onMouseOver="this.className='on'" 
onMouseOut="this.className='off'">This is some text</td>
      <td onMouseOver="this.className='on'" 
onMouseOut="this.className='off'">This is some other text</td>
firmalar sirketler rehberi http://www.sirketfirmarehberi.com firma
sirket rehberi adres telefon bilgileri
full forum http://www.forumnettr.com/forum 
secilmis youtube videolari http://www.youtubevideolari.net youtube videos
online video tr tube http://www.videotrtube.com
full program full oyun http://www.forumnettr.com