Susie Gardner-Brown wrote:
It does have a background! [...]
No, it doesn't. You have styled the span alright, but that doesn't affect the LINK-element, the a, so IE/win isn't "getting it". This will get IE's attention...
div#content li a:hover {background: #edb;}
Remember, you're dealing with a weak and buggy browser, so just add the style for a:hover and get it working in IE. *Then* you can start fine-tuning the background-color to make it look good in that bugger.
(based on the Meyer one but with a few additions/changes. For example, his used absolute positioning, but I wanted to use relative.)
You have made a few more changes than 'positioning'. Eric's example *does* create a change on the link-element on hover (intentionally or not), so it is working in IE. Any changes in background or border on the <a> will make IE "repaint" the link-element and open for the span inside it to be displayed. No such changes, like your stylesheet says now, means the span will never be displayed in IE6 - regardless of how many styles/changes you add to the span. regards Georg -- http://www.gunlaug.no ****************************************************** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list & getting help ******************************************************