I am using the following css to create an overlay but it still isn't working in IE. Can anyone suggest what I might need to do to have the desired effect?
The image and overlay can be seen here
/* Fallback for web browsers that doesn't support RGBa */
background: rgb(255, 255, 255);
/* RGBa with 0.6 opacity */
background: rgba(255, 255, 255, 0.8);
/* For IE 5.5 - 7*/
/* For IE 8*/
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#ddffffff, endColorstr=#ddffffff)";
bottom: 0px; left: 0px;
width: 825px; padding: 8px 18px 0px 12px;
font-size: 28px; line-height: 31px;
Which version(s) of IE is this failing in? And what is not working? When you use a script like this, it's best to keep track of any changes you make and test in each browser at each point so that you can identify where the problem starts. Normally a script like this will be designed to work in all browsers.
It's actually failing in 7,8 and 9! The weird thing is that I'm using a similar image slider in another website (same css) and it works fine so I'm wondering if I need to alter something else?
Does the original code work in those browsers? If so, what did you change?
I made changes to the layout of the image slider so a few tweaks to the css file but I've just tested the original css and still no joy (although it IS still working on the other site!)
This has baffled me!
2 sites - same code - 2 different results!
It could well be styles for other elements on the page causing trouble. If you create a page with just the gallery and its CSS, does it work? If so, then gradually add in the styles for the rest of the page and see where things go wrong. It could also be a JS issue, I guess.
I'm wondering if it might be a js issue. I have actually created the page with just the image slider and it's still not working
Thanks for your help.
What if you create a page with just the original slider. Does it work in IE? Or is there an example page with it working in IE (Your first link above was offline).
Sorry, I miss typed the URL
The two sites, for comparison, are
I was just about to copy the original image slider into it's own page and I realised there was an extra bit of css in the head of the page...
I've applied it to my problem image slider and it's working fine now!!
Thanks for your perseverence, these things can be so frustrating!
Great, glad you got it! I thought to my self, as I posted here, that you may just figure it out yourself with enough moral support. It's amazing how often that happens.
This topic is now closed. New replies are no longer allowed.