|
|
If IE doesn't work, fix it yourself!
|
|
|
|
Mac Elite
Join Date: Nov 2003
Location: Minnesota
Status:
Offline
|
|
I did a search but didn't find these posted before. I have found them incredibly useful, so here they are:
Problem 1: IE sucks at correctly rendering CSS.
Solution: Use Dean Edwards's custom style sheet. Simply by including it in one of your standards-compliant sites, IE will magically display it correctly! :hover will correctly work (thank God!) as well as positioning.
MindFad is gonna love this next one...
Problem 2: IE sucks at displaying PNGs
Solution: Well, IE can do transparencies, but mainly through their own proprietary filters. By including one .htc file on your server and then adding a single line to your stylesheet, your PNG will become transparent in IE by leveraging one of these filters!
Hope that helps some of you as much as it has helped me.
UPDATE: The latest versions of IE7 have PNG support, so you no longer need to use both hacks.
(
Last edited by Turias; Aug 11, 2004 at 08:57 AM.
)
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: May 2001
Status:
Offline
|
|
Awesome tips!! I have just made this thread a sticky.
..oh wait, I can't do that.
[Edit: It seems I can. I never cease to amaze myself ]
(
Last edited by thePurpleGiant; Mar 17, 2004 at 09:52 PM.
)
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Nov 1999
Status:
Offline
|
|
Originally posted by thePurpleGiant:
Awesome tips!! I have just made this thread a sticky.
..oh wait, I can't do that.
...no, but I can
I can't leave it up here forever, of course, but it's useful enough that I'll buy it a little time so that people can just check it out.
|
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
|
|
|
|
|
|
|
|
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status:
Offline
|
|
Originally posted by Millennium:
...no, but I can
I can't leave it up here forever, of course, but it's useful enough that I'll buy it a little time so that people can just check it out.
can you sticky a favicon thread, please? i think i'm going to throw knives at the next person who doesn't search and just asks.
|
"Have sharp knives. Be creative. Cook to music" ~ maxelson
|
|
|
|
|
|
|
|
Mac Elite
Join Date: May 2001
Status:
Offline
|
|
Originally posted by philzilla:
can you sticky a favicon thread, please? i think i'm going to throw knives at the next person who doesn't search and just asks.
I was one of those people once
|
|
|
|
|
|
|
|
|
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status:
Offline
|
|
Originally posted by thePurpleGiant:
I was one of those people once
apply your hand to your face in a rapid manner, please. repeat procedure 10 times.
|
"Have sharp knives. Be creative. Cook to music" ~ maxelson
|
|
|
|
|
|
|
|
Senior User
Join Date: May 2001
Location: Nottingham, UK
Status:
Offline
|
|
Originally posted by philzilla:
apply your hand to your face in a rapid manner, please. repeat procedure 10 times.
bwhaha! I'd rather see the next person stabbed in the face with a ceramic shard from a broken toilet.
|
|
|
|
|
|
|
|
|
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status:
Offline
|
|
Originally posted by derbs:
bwhaha! I'd rather see the next person stabbed in the face with a ceramic shard from a broken toilet.
that's the spirit, man!
|
"Have sharp knives. Be creative. Cook to music" ~ maxelson
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Nov 2001
Location: Are Eye
Status:
Offline
|
|
I find that png script to be trying.
I have been having trouble with it, so I put together a simple test page.
It's also incorporating png files from another project I'm working. It uses javascript to swap png files much like a roll over.
Anyway, on VPC the swapped pngs lose transparency. Also, png files used as a background lose transparency. The latter I'm certain is getting past this script, and the former may be due to VPC running java too slowly, or because they elude the script as well.
Does anyone have any further insight into this?
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Jun 2001
Location: Seattle
Status:
Offline
|
|
I used to use the webfx png fixer on my site, but it was kind of spotty. I just re-enabled it and am seeing the same problems. Basically the pngs will sometimes load correctly (with transparency), normally (without transparency) or the behavior gets stuck half way through and just displays the blank.gif. Pretty annoying.
~BS
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Nov 2003
Location: Minnesota
Status:
Offline
|
|
Funny, I haven't had any problem with the PNG script. I just followed his example page, which works quite well.
|
|
|
|
|
|
|
|
|
Senior User
Join Date: May 2001
Location: Nottingham, UK
Status:
Offline
|
|
I've always used Sleight for displaying PNGs.
http://www.allinthehead.com/retro/69
Still has some limitations though. Doesn't work with PNGs that are background images of table cells etc. but the latest one works with CSS background images
|
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Nov 2001
Location: Are Eye
Status:
Offline
|
|
Originally posted by derbs:
I've always used Sleight for displaying PNGs.
http://www.allinthehead.com/retro/69
Still has some limitations though. Doesn't work with PNGs that are background images of table cells etc. but the latest one works with CSS background images
I have also used sleight in the past. In fact, I've used that on a very similar test page, and I get the same results. NB: this test page doesn't use bgsleight which has its own problems (repeat issues in particular).
I am beginning to think that IE's proprietary alpha loader is simply too memory intensive to be of any practical use.
Has anyone successfully used pngs in rollovers?
(
Last edited by registered_user; Mar 19, 2004 at 09:54 AM.
)
|
|
|
|
|
|
|
|
|
Senior User
Join Date: May 2001
Location: Nottingham, UK
Status:
Offline
|
|
I think we're going to have to wait for IE7 before there's a proper solution. surely they'll sort the PNG issue out by then....
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jan 2003
Location: 127.0.0.1
Status:
Offline
|
|
I always thought that the solution to IE problems is to move IE to the trash and empty it.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Dec 2003
Status:
Offline
|
|
How do you make a favicon? (I kid, I kid)
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Dec 2000
Location: Málaga, Spain, Europe, Earth, Solar System
Status:
Offline
|
|
Originally posted by Turias:
I did a search but didn't find these posted before. I have found them incredibly useful, so here they are:
Problem 1: IE sucks at correctly rendering CSS.
Solution: Use Dean Edwards's custom style sheet. Simply by including it in one of your standards-compliant sites, IE will magically display it correctly! :hover will correctly work (thank God!) as well as positioning.
Well I am having a hard time getting this to work. I apply it and it turns the page all white except the text and images if you want to test (test it out on IE for Win of course):
No IE7 magic for me
Any help much appreciated
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Nov 2003
Location: Minnesota
Status:
Offline
|
|
Originally posted by eevyl:
Well I am having a hard time getting this to work. I apply it and it turns the page all white except the text and images if you want to test (test it out on IE for Win of course):
No IE7 magic for me
Any help much appreciated
Have you gotten IE7 to work on a simpler page? If so, have you tried to narrow down the problem to anything specific on your site? Try deleting chunks of your HTML code until you find what breaks it.
Once you figure that out, try e-mailing the author. The times I have e-mailed him he's been incredibly responsive.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Nov 2003
Location: Minnesota
Status:
Offline
|
|
Just as an update, I've implemented IE7 on my large CMS driven site with div:hovers galore. It works great, except for one thing:
It takes an extra 15 seconds to load each page on IE.
I'm going to e-mail the author and see what he thinks.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Nov 2003
Location: Minnesota
Status:
Offline
|
|
Originally posted by Turias:
Just as an update, I've implemented IE7 on my large CMS driven site with div:hovers galore. It works great, except for one thing:
It takes an extra 15 seconds to load each page on IE.
I'm going to e-mail the author and see what he thinks.
I just got a reply from Dean:
Dean Edwards said:
i'm aware of this problem. and have a soultion. expect the next release of IE7 to be a LOT quicker.
regards,
-dean
Excellent.
|
|
|
|
|
|
|
|
|
Addicted to MacNN
Join Date: Oct 2001
Location: Yokohama, Japan
Status:
Offline
|
|
I thought I'd add my recently gained wisdom to this thread.
I use a small JavaScript to serve up different stylesheets depending on the browser, because IE sh*ts a brick when it sees position:fixed elements (or is there a workaround I don't know about?). After struggling to maintain said script with it embedded separately in each page of my site, I got wise and made it external instead. Now here's the problem:
My site is XHTML1.0 strict, so I figured now that my <script></script> environment is empty, I should make it <script />. Wrong. This works just fine in Mozilla-derived browsers, but IE and iCab just flake out entirely. I think they decide that the <script> never closes until end of file. Anyway, reverting to <script></script> works for all browsers and validates, so there you go.
I hope this saves someone unnecessary pain.
|
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Nov 2003
Location: Hebburn, UK
Status:
Offline
|
|
Originally posted by wataru:
IE sh*ts a brick when it sees position:fixed elements (or is there a workaround I don't know about?).
Solution
|
Just who are Britain? What do they? Who is them? And why?
Formerly Black Book
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Sep 2001
Location: the intarweb
Status:
Offline
|
|
solution -
1. design your site using standards compliant code.
2. check it validates on W3C website.
3. publish site.
4. apply boot to testicles of anyone using internet explorer who tries to tell you the site "isn't working properly", whilst shouting loudly "no. your f**king browser isn't working properly!"
repeat until microsoft release standards compliant browser [or ad infinitum - whichever is the sooner]
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Nov 1999
Status:
Offline
|
|
Dean Edwards' awesome IE7 JavaScript/stylesheet/miracle/whateveryouwanttocallit has been updated; it can now handle position:fixed and PNG transparency as well as the other stuff.
|
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Jul 2004
Status:
Offline
|
|
Originally posted by m a d r a:
solution -
1. design your site using standards compliant code.
2. check it validates on W3C website.
3. publish site.
4. apply boot to testicles of anyone using internet explorer who tries to tell you the site "isn't working properly", whilst shouting loudly "no. your f**king browser isn't working properly!"
repeat until microsoft release standards compliant browser [or ad infinitum - whichever is the sooner]
If only this solution worked!
Thank you madra - not only have you made me realise I'm not the only one who wants to do this, you gave me a good chuckle too......
|
iMac 15"
iBook 1Ghz 12"
Panasonic SL-CT510 CD/MP3 Walkman
Bose Triport headphones
|
|
|
|
|
|
|
|
Occasionally Useful
Join Date: Jun 2001
Location: Liverpool, UK
Status:
Offline
|
|
Originally posted by m a d r a:
solution -
1. design your site using standards compliant code.
2. check it validates on W3C website.
3. publish site.
4. apply boot to testicles of anyone using internet explorer who tries to tell you the site "isn't working properly", whilst shouting loudly "no. your f**king browser isn't working properly!"
repeat until microsoft release standards compliant browser [or ad infinitum - whichever is the sooner]
I APPROVE!
|
"Have sharp knives. Be creative. Cook to music" ~ maxelson
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jan 2000
Location: Pittsburgh, PA
Status:
Offline
|
|
IE7 doesn't help the box_model problem on IE for Mac though, right? Yeah, I know, everyone should use Safari or something else, but still, I had to check.
|
spike[at]avenirex[dot]com | Avenirex
IM - Avenirx | ICQ - 3932806
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Nov 1999
Status:
Offline
|
|
Originally posted by Avenir:
IE7 doesn't help the box_model problem on IE for Mac though, right? Yeah, I know, everyone should use Safari or something else, but still, I had to check.
What problem are you referring to? I'm familiar with many problems with IE's box model, and IE7 fixes these, but I don't know of any IE/Mac issues with the box model.
|
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Jan 2000
Location: Pittsburgh, PA
Status:
Offline
|
|
Originally posted by Millennium:
What problem are you referring to? I'm familiar with many problems with IE's box model, and IE7 fixes these, but I don't know of any IE/Mac issues with the box model.
I'm not sure if that's exactly what it's called, but there is still a slight problem with padding/margins on this page that works in Safari, is fixed in IE Win with IE7, but still renders funky in IE Mac. In the end, my solution was to just give up on IE Mac, it's only a little bit off.
|
spike[at]avenirex[dot]com | Avenirex
IM - Avenirx | ICQ - 3932806
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Dec 2000
Location: Northern California
Status:
Offline
|
|
Originally posted by Turias:
UPDATE: The latest versions of IE7 have PNG support, so you no longer need to use both hacks.
I just happened to check out a site I'm building on IE7 earlier, it has one 24-bit transparent PNG, which displayed with a solid gray background (IE5:Mac doesn't have this problem). So I'm going to have to look into the hack anyway, or just JPEG it (more likely).
Edit: Whoops, no, turns out I was using IE6. I was under the impression that XP SP2 actually had IE7?! Whatever...
(
Last edited by Apfhex; Dec 20, 2004 at 11:52 PM.
)
|
|
|
|
|
|
|
|
|
Fresh-Faced Recruit
Join Date: Jan 2005
Location: Michigan, USA
Status:
Offline
|
|
Wow -- that's super! Thanks.
|
|
|
|
|
|
|
|
|
Mac Elite
Join Date: Nov 2001
Location: Dark Side of the Moon
Status:
Offline
|
|
Hi,
I wonder if anyone could take a look at my site here: http://www.morrissey.cattish.co.uk and tell me why it doesn't render right in IE.
I'm using the patch from this thread, but I think the versions of IE I have checked in are not version 7, how can it work with earlier versions?
The problem seem to be that the two boxes that form the menus in the left frame overlap each other, also the frames shows borders - I'd prefer no borders.
I guess using frames makes this more complex, but I have no choice because of the software I use for making the picture galleries.
Thanks a lot for your help
|
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Nov 1999
Status:
Offline
|
|
Originally posted by monkeybrain:
I'm using the patch from this thread, but I think the versions of IE I have checked in are not version 7, how can it work with earlier versions?
IE7. despite its name, is not a new browser or version of Internet Explorer. Internet Explorer version 7.0 is coming, but there are no betas yet and nobody knows what features it will include.
IE7 is a set of JavaScript routines which hook into versions of IE earlier than 7 (which at the moment happens to include the latest version: 6.0.something) and automatically works around many of IE's CSS bugs and limitations. Yes, the name is confusing. It will be changing soon.
|
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Oct 2003
Status:
Offline
|
|
Has anyone had success with the newer versions of IE7? Versions 0.7.2 and 0.7.3 work great; but anything above version 0.7.3 just absolutely refuses to load in IE.
|
The only thing necessary for evil to flourish is for good men to do nothing
- Edmund Burke
|
|
|
|
|
|
|
|
Clinically Insane
Join Date: Nov 1999
Status:
Offline
|
|
Originally Posted by madmacgames
Has anyone had success with the newer versions of IE7? Versions 0.7.2 and 0.7.3 work great; but anything above version 0.7.3 just absolutely refuses to load in IE.
0.8 has been working well for me. It's much faster than previous versions, and the project I work on requires pretty much everything to be loaded.
This said, avoid the ie7-squish file. I've had an awful time getting this one to work; it seems to cause more problems than it solves.
|
You are in Soviet Russia. It is dark. Grue is likely to be eaten by YOU!
|
|
|
|
|
|
|
|
Grizzled Veteran
Join Date: Oct 2003
Status:
Offline
|
|
Originally Posted by Millennium
0.8 has been working well for me. It's much faster than previous versions, and the project I work on requires pretty much everything to be loaded.
Do you have a site you can post that it is working on? I've tried both the compressed and uncompressed file for the full version 0.8 and neither will load on any page I try in any version of IE I try.
|
The only thing necessary for evil to flourish is for good men to do nothing
- Edmund Burke
|
|
|
|
|
|
|
|
Dedicated MacNNer
Join Date: Jun 2001
Location: St Paul, MN
Status:
Offline
|
|
I see it's been two months since anyone posted in this thread, so I hope I get a response. Is anyone using the latest IE7 (version 9.0) to make .png transparencies display correctly in Windows Internet Explorer? It works, but when used with a png-based rollover, my images stay rolled in Windows Internet Explorer - anyone know how to make them roll and unroll properly? Thanks!
|
|
|
|
|
|
|
|
|
Posting Junkie
Join Date: May 2001
Location: Brisbane, Australia
Status:
Offline
|
|
I think mine works properly: http://selskapsspesialisten.no
However, despite claims to the otherwise 0.9 still breaks style sheet-switching. Anyone know why?
|
|
|
|
|
|
|
|
|
Forum Regular
Join Date: Dec 2005
Status:
Offline
|
|
if IE doesn't work, go jump in a lake, and then come back and go get firefox ... Anyway, what's the point of using Internet Exploder? Sorry if this is spam =P
|
15" MacBook Pro (unibody), 4 GB RAM, 2.53 GHz Intel Core 2 Duo, Mac OS X 10.6.2
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Forum Rules
|
|
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
|
|
|
|
|
|