I am receiving a lot of "page not found" errors in Drupal 6.4 with Sky theme 6.x-2.x-dev related to the "css/iehover.htc".

Any suggestions would be helpful.

This is on: http://www.underfunded.info

Thanks,
Ian.

Comments

fighter75’s picture

yes, ur right me too, what's wrong with "css/iehover.htc" ?

msabnis’s picture

This is to do with the way IE(not sure, but might happen with other browsers) looks for the file specified in the behavior url. IE treats it relative to the current page and not to the current theme. So even if you change it to something else other pages will be broken.

There might be more clever solutions, but the only way I could make it work was to use absolute path in the url.

In your 'style.css' in the sky theme folder, change the line

behavior: url(css/iehover.htc);

to

behavior: url('http://your.domain.com/pathtotheme/css/iehover.htc');

Hope this helps.

jacine’s picture

Thanks for that msabnis. This one had me pretty stumped. Maybe I should just get rid of it. It's there for IE, and IE can't even load it without manual intervention, so, there's probably no point in having it in the first place.

revo2wheels’s picture

I'm still getting page not found after inserting full url;

e.g.

http://www.domain.com/themes/sky/'http://www.domain.com/themes/sky/css/iehover.htc'

Grateful for suggestions - it filling my log up nicely :-)

jacine’s picture

Status: Active » Closed (fixed)

This has been removed in the latest dev.