Forums
This topic is locked
Change Cell BG on mouseover?
Posted 06 Feb 2003 21:37:54
1
has voted
06 Feb 2003 21:37:54 Mike Zagorski posted:
Ive got some cells with navigation text in them. What I want to achieve is the following:As default, the text has no decoration, and the cell BG has a colour.
On mouseover, the text gets an underline, and the cell BG changes to white.
How can I do this?
Thanks
Mike
Replies
Replied 09 Feb 2003 23:22:22
09 Feb 2003 23:22:22 Dean Blackborough replied:
Just use CSS and set up a style for A:Hover on the page
If you know the width of the cells this would work.
A:hover {
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
background-color: #EAEAEA;
width: 215px;
}
I am pretty sure that you could get this to work for any cell width.
--------------------------------------
www.galleryof3d.com
Attempting to convert this to a database driven site - currently all individual pages. lol
If you know the width of the cells this would work.
A:hover {
font-family: Arial, Helvetica, sans-serif;
font-size: 10pt;
background-color: #EAEAEA;
width: 215px;
}
I am pretty sure that you could get this to work for any cell width.
--------------------------------------
www.galleryof3d.com
Attempting to convert this to a database driven site - currently all individual pages. lol