OZONE Asylum
Forums
XML - XSL - XSLT - XHTML - CSS - DOM
css a:hover to change background
This page's ID:
11085
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
[b]Pugzly:[/b] To get your style working in IE and Mz, you must remove the [i]img[/i] tag name in the CSS, just like that :[code]<style type="text/css"> #switcher a { background-color: #999999; } #switcher a:hover { background-color: #000000; } </style>[/code]Honestly I'm not exactly sure to know why it works than way and not yours. IE only supports the [i]:hover[/i] pseudo class on the [i]a[/i] tags but it also supports descendant selectors so your CSS should have worked...well, it must be another of IE's misteries. Anyway, hope that helps. [b]Mathieu "POÏ" HENRI[/b]
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »