Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Need someone to help fix IE js/css issues WordPress


Hey all,

I'm trying to fix a WP theme I've made which has several js/css issues in IE7/8 (not bothering supporting 6). I have been working to fix them myself but I'm running Windows via VM and I'm running on low memory so it's awkward to do.

In brief:

- I have a skin switcher which adds the relevant stylesheet (onClick) in IE using document.createStylesheet but it doesn't remove previously added ones so ends up loading lots of skin stylesheets where it should remove previously added one first.

- Some CSS styling (hover color and background-color) issues in a superfish menu in IE 7/8.

- In IE7, couple of js errors, like expected integer and 'blah is undefined'.

- Couple of layout/z-index issues in IE7.

It's not major work, just a number of minor niggles. Should take an hour or so.

Answers (2)


Jarret Minkler answers:

Why not just use CSS3 and not bother supporting (and spreading the virus of) the old browsers? I mean, your already not supporting IE6 ...

drew comments:

I'm just trying to make things look as good as possible in IE, that's all. But IE round/cosmetic issues aside, I still need the js/jquery fixes and the css superfish menu issue.

Jarret Minkler comments:

What is the problem? link?

drew comments:

I have listed the problems above. I don't want to link publicly to the theme as it isn't released yet.

Jarret Minkler comments:


drew comments:

PM sent.

Jarret Minkler comments:



idt answers:


Can you please give us URL of the site so we could take a look?


drew comments:

PM sent.

idt comments:

Thanks. Checking...

idt comments:

For the CSS loading issue, I think it is because createStyleSheet is only use to add stylesheets for IE and it does not remove/track duplicates. Have you tried using rloader jquery plugin for that? Check it out here: [[LINK href=""]][[/LINK]]