starkaise9 — 2013-05-17T14:13:06-04:00 — #1
My website displays all my image sliders properly in Google-Chrome & Mozilla-Firefox but in IE it pushes the mages down and creates a black bar at the top and also doesn't display the image box properly. I'm sure this is an easy fix for some of you masters out there and I'd be much obliged for help!
pullo — 2013-05-18T06:33:37-04:00 — #2
Welcome to the forums
We cannot help you unless you provide a link to the page where you are having this issue, or enough code that we can reproduce this issue for ourselves.
starkaise9 — 2013-05-19T16:10:10-04:00 — #3
The website is stadiumpros.com
The image sliders at the top of the homepage and at the top of the /bleachers page and so on display properly in Google Chrome and Mozilla Firefox and Safari, however in IE the homepage slider doesn't display properly and the /bleachers page the images are pushed down with a black line at the top oddly, below is the code two posts 1st half and second half:
starkaise9 — 2013-05-19T18:30:23-04:00 — #4
paul_wilkins — 2013-05-20T06:21:54-04:00 — #5
I would call that a CSS problem that the page seems to be having. Let's see if someone can help you with that.
paulob — 2013-05-20T08:06:47-04:00 — #6
Try adding the following CSS:
It should cure the gap you mention.
pullo — 2013-05-20T08:45:45-04:00 — #7
I was looking at this page to reproduce your issue: http://stadiumpros.com/grandstands/
Paul's solution will work excellently, but it might also be noted that on this page, the line which is causing IE to freak out is this:
<li><img src="../images/anfslot3.jpg" alt="Angle Frame Grandstand Addition" title="Angle Frame Grandstand Addition" id="wows1_2"/>Little Rock, AR, USA</li>
The file's extension is actually JPG (upper case).
If you change your code to reflect this, then the black line will also go away:
<li><img src="../images/anfslot3.JPG" alt="Angle Frame Grandstand Addition" title="Angle Frame Grandstand Addition" id="wows1_2"/>Little Rock, AR, USA</li>
paulob — 2013-05-20T09:09:56-04:00 — #8
pullo — 2013-05-20T09:20:01-04:00 — #9
I spent ages tearing my hair out over a very similar issue a while back and it was a real face-palm moment when I realized why things were working.
It's really weird though, that it was just IE that had a problem with this, as normally it's such a standards compliant browser ...
starkaise9 — 2013-05-25T22:17:44-04:00 — #10
I fixed the JPG to jpg, but still can't get the IE issue fixed, driving me insane, perhaps I can email the files to you Pullo and let you look them over?
ralphm — 2013-05-25T22:49:26-04:00 — #11
Make sure to try Paul's suggestion in post #6, as the JPG thing wasn't intended as the whole solution.
pullo — 2013-05-26T01:20:49-04:00 — #12
Also, it would help if you could let us know which page you are having the issue with, which version of IE you are using, as well as the details of the problem.
I have just looked at this page in IE9 and IE10 and it works as expected.
starkaise9 — 2013-05-26T15:48:29-04:00 — #13
The problem is viewing with IE 8, the homepage top slide
www.stadiumpros.com isn't displaying the image slider borders properly "the white border" & the images don't slide as smooth as with Chrome, Firefox & Safari.
And on this page www.stadiumpros.com/bleachers the black stripe is still at the top AND the border isnt displaying properly. Are you saying in IE 9 & IE 10 both the homepage and /bleachers page are displaying properly? " I loathe IE" lol !
paulob — 2013-05-26T16:32:57-04:00 — #14
If you are talking about the white rounded image border added to ws_shadow and produced with this image:
Then the problem is that you have used background-size to make that image stretch to fit the slider image but IE8 has no support for background size so just shows the image at its normal size. You will either need to make the image the exact size to fit - assuming the slides are all the same size or perhaps use conditional comments and hide that image for ie8 and under.
the black stripe is still at the top
Adding the code I gave in my first post will fix that issue (as mentioned four times now)