Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Internet Explorer 8 (IE8) is simply refusing to download a PNG image - it just crashes.

First, I thought it was the file size, so I saved it as a JPEG, which worked but then IE hung on the rest of the PNG images on the page. Does anyone have any solutions to this problem (or something like it), or could tell me why it's not working?

It works fine in Chrome and Firefox...

Edit: Here's the site URL: www.easymanager.co.uk

share|improve this question

migrated from stackoverflow.com Mar 27 '11 at 20:30

This question came from our site for professional and enthusiast programmers.

    
What do you mean by "crashes"? What happens? –  Pekka 웃 Mar 27 '11 at 11:27
    
IE doesn't respond anymore after I tried to open this site. –  Snowbear JIM-compiler Mar 27 '11 at 11:28
    
Validating your site reports enough errors that ought to be a good starting point. IE might also require the <DOCTYPE piece to be the very first few bytes, not after a few newlines. None of those errors look like they should kill a browser; I suggest reporting the bug. –  sarnold Mar 27 '11 at 11:34

1 Answer 1

up vote 1 down vote accepted

Nothing to do with the PNGs, IE is hanging because of two lines in the pages.css files. If you remove them the site is fine. I guess even IE doesn't like MS proprietary web stuff.

filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#cc000000,endColorstr=#cc0000 00); -ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#cc000000, endColorstr=#cc000000)";

share|improve this answer
    
Thanks CreeDorofl. It was indeed those lines - I removed them last night and it works fine now. What I don't get is the fact that they're Micro$oft's own commands. Why do they crash their own (rubbish) browser? –  Bojangles Mar 28 '11 at 8:01
    
I dunno, but if that filter does what I think it does... draw a gradient across an area... you (or whoever runs the site) can just do that with a tiny repeated photoshop gif usually. Sites break when the designers get too cute :) –  CreeDorofl Mar 29 '11 at 6:55
    
"too cute" ha ha. The filter does indeed draw a gradient, however I was just looking for solid colour transparency. I found the gradient hack a while back and it worked fine for a while, but then decided to die. I'm using LESS so I've come up with a little mask line to pretend to be transparent :-) –  Bojangles Mar 29 '11 at 13:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.