Welcome visitor
* Login
* Register
It is currently July 19th, 2019, 2:11 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  Change the background color of a cell on hover
PostPosted: December 4th, 2009, 10:04 pm 

Posts: 15
Hi, I have a table with links inside and I want to know if theres a way to change the background color of the hole cell when a link is hovered?

Thanks for your help.


Top
 Profile  
 
  Re: Change the background color of a cell on hover
PostPosted: December 5th, 2009, 7:43 am 

Posts: 46
<style>
   td:hover {background-color: #ffaaff;}
</style>

Or if you dont want all cells to have this attribute try with classes...


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron