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.
- 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.
Why not just use CSS3 and not bother supporting (and spreading the virus of) the old browsers? I mean, your already not supporting IE6 ...
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.
What is the problem? link?
I have listed the problems above. I don't want to link publicly to the theme as it isn't released yet.
Can you please give us URL of the site so we could take a look?
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="http://code.google.com/p/rloader/"]]http://code.google.com/p/rloader/[[/LINK]]