What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » html question

html question
Author: Message:
jordanspringer
Full Member
***

Avatar
jjordann

Posts: 369
Reputation: 5
– / Male / –
Joined: Oct 2003
O.P. html question
i'm looking to make a table, but when the mouse hovers over each cell in the table, i want the background color of the cell to change. is this possible? thanks

This post was edited on 07-07-2006 at 06:02 PM by jordanspringer.
[Image: name4ld.png]
07-07-2006 06:01 PM
Profile E-Mail PM Web Find Quote Report
stoshrocket
Senior Member
****

Avatar
formerly methos

Posts: 748
Reputation: 31
34 / Male / Flag
Joined: Aug 2005
RE: html question
i suppose you could do it with css... what would the code for the table be?? (tables arent my strong point so im not sure...)

This post was edited on 07-07-2006 at 06:52 PM by stoshrocket.
formerly methos
07-07-2006 06:52 PM
Profile PM Web Find Quote Report
pollolibredegrasa
Full Member
***

Avatar
formerly fatfreechicken

Posts: 483
Reputation: 34
35 / Male / Flag
Joined: May 2005
RE: html question
This what you want?
;p

[Image: chickennana.gif] Vaccy is my thin twin! [Image: chickennana.gif]
07-07-2006 06:57 PM
Profile PM Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: html question
quote:
Originally posted by fatfreechicken
This what you want?
Don't rely on script to do that: people can turn it off. Instead, use the :hover pseudo-class.
code:
td {
    background: #CCCCCC;
}

td:hover {
    background: #999999;
}

This post was edited on 07-07-2006 at 07:42 PM by RaceProUK.
[Image: spartaafk.png]
07-07-2006 07:41 PM
Profile PM Web Find Quote Report
ShawnZ
Veteran Member
*****

Avatar

Posts: 3146
Reputation: 43
32 / Male / Flag
Joined: Jan 2003
RE: html question
':hover' only works on 'a' elements containing a 'href' in IE, just so you know.
Spoiler:
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
the game.
07-07-2006 07:54 PM
Profile PM Web Find Quote Report
jordanspringer
Full Member
***

Avatar
jjordann

Posts: 369
Reputation: 5
– / Male / –
Joined: Oct 2003
O.P. RE: html question
thanks, that helps alot
[Image: name4ld.png]
07-07-2006 08:10 PM
Profile E-Mail PM Web Find Quote Report
RaceProUK
Elite Member
*****

Avatar

Posts: 6073
Reputation: 57
39 / Male / Flag
Joined: Oct 2003
RE: html question
quote:
Originally posted by ShawnZ
':hover' only works on 'a' elements containing a 'href' in IE, just so you know.
Does it? Damn :(
Not according to w3schools.com: :hover is supported across the board :D
[Image: attachment.php?pid=689311]

.png File Attachment: Hover Pseudo-class.png (9.93 KB)
This file has been downloaded 206 time(s).

This post was edited on 07-07-2006 at 10:07 PM by RaceProUK.
[Image: spartaafk.png]
07-07-2006 10:03 PM
Profile PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On