/    Sign up×
Community /Pin to ProfileBookmark

CSS td:hover IE and FIREFOX

Hi guys and girls I was wondering whether it was possible to use the command:

[code]
tr:hover { background-color: red; }
[/code]

It works sweetly in FIREFOX however not in IE. I know that IE is behind in standards but is there a hack for getting it to work in IE?

Thanks

to post a comment
CSS

2 Comments(s)

Copy linkTweet thisAlerts:
@KDLAMay 25.2006 — There's a javascript way of doing this:
<i>
</i>&lt;td bgcolor='#999966' onmouseover="this.bgColor='#c6c6aa'" onmouseout="this.bgColor='#999966'"&gt; THE CODE FOR THE CONTENT OF THE TABLE CELL GOES HERE.&lt;/td&gt;


But, really, you shouldn't have a rollover effect unless it is to indicate a link.
Copy linkTweet thisAlerts:
@iOlamauthorMay 25.2006 — At the moment I am using the rollover effect to display data found in a table and when they click on a particular row in the table this would lead into displaying a more detailed description of a product. I am combining XHTML, CSS and ASP functionality within my page.

Thanks for the reponse ?
×

Success!

Help @iOlam spread the word by sharing this article on Twitter...

Tweet This
Sign in
Forgot password?
Sign in with TwitchSign in with GithubCreate Account
about: ({
version: 0.1.9 BETA 5.19,
whats_new: community page,
up_next: more Davinci•003 tasks,
coming_soon: events calendar,
social: @webDeveloperHQ
});

legal: ({
terms: of use,
privacy: policy
});
changelog: (
version: 0.1.9,
notes: added community page

version: 0.1.8,
notes: added Davinci•003

version: 0.1.7,
notes: upvote answers to bounties

version: 0.1.6,
notes: article editor refresh
)...
recent_tips: (
tipper: @AriseFacilitySolutions09,
tipped: article
amount: 1000 SATS,

tipper: @Yussuf4331,
tipped: article
amount: 1000 SATS,

tipper: @darkwebsites540,
tipped: article
amount: 10 SATS,
)...