Making IE Standards Compliant
spin2cool writes "Dean Edwards has taken it upon himself to make Internet Explorer W3C compliant. How? Well, it isn't by patching the application, as you might suspect. He's created a stylesheet, dubbed 'IE7' that uses DHTML to load and parse style sheets into a form that IE can understand. Just include the style sheet in your HTML pages, and things should render correctly. The complexity of the CSS transformations is really amazing and shows off the power of this stuff."
I'm sure IE 6.05.1 will feature a small modification which happens to cause this fix to stop working. ;)
All that's missing now, is a stylesheet that'll close all remaining security holes... :*)
.. it's a sad state of affairs when a developer outside of Microsoft actually ends up doing something that MS should have done themselves. So they can say 'screw it' to standards and someone else does the finger-work.
This will probably get modded down - but this hack really does show the power of IE that you can deploy a script fix to browser problems.
And before people start attacking ie for saying that mozilla supports xyz css and ie6 doesn't - mozilla was last released yesterday - ie6 was released 2+ years ago. Most of these css3 features weren't even finalised as w3c guidelines when ie6 was released.
Great to see the css3 support though - removes the need for so hard-to-manage javascript hacks.
SharedID - Single Sign On for web applications
Is ponder how to get over the Slashdotting of his site.
I'm sure the CSS is a work of technical art; seeing it would be even better.
Donte Alistair Anderson Roberts - hi son!
Karma: Chameleon
I wish someone would release such a sheet for firefox : /. itself still doen't render correctly on FFox 0.8 under XPpro. As shown here, the left column tends to dribble into the article summary...
When will I end this grieving ? When will my future begin ?
Site is already slashdottet. Here's Google's cache of the document.
So - how are the plans going with implementing a slashdot cache?
Underholdning.info
That doesn't require style sheets, just normal webpages.
Judging by the loading lag, and eventual time out hes managed to make his webserver IIS compliant also ;)
If you havent already yet, you should of switched from IE to Firefox. It is now my default browser on Windows, and on Windows XP it even puts it as the top Start menu item. It is fast, light, small download (6Mb), Tabbed Browsing, Popup blocking, Download manager, Cute icon and standards compliance are all good reasons to use it. So don't use an ugly hack to transform your pages for IE, put a firefox icon on your site.
So if you havent downloaded it yet, get it now!. Avalible for Windows, Linux, Mac OS X and more!
found here
The site is /.ed, but from what I can make out from the front page, this is making IE CSS standards compliant. Does it also work some magic to make it compliant with HTML (or even better, XHTML) standards (which would be far more useful), or is that just impossible?
In any event, this may allow me to actually use some CSS 2, a standard that was published in May 1998 (almost 6 years ago!) and still isn't (fully) supported by the leading browser in the world...
Use a Mozilla Firefox nightly build, the bug (217369, I think) that caused this problem is fixed in them.
More major changes since 0.8 here.
"You should never doubt what nobody is sure about." -- Willy Wonka
MS released a patch today to fix a major Security Bug in IE today. MS offcials say that a malisious hacker, is destroying websites around the world, by making them compatible with other web browsers. We at MS can abolutely not have any competion, so we are funding a $1 billion reward to the person who finds this man and breaks his even hack. We would do it ourselves but all 80,000 of our developers are busy trying to get longhorn out by 2010.
i thought once I was found, but it was only a dream.
The title of the news is misleading : this JS component only corrects some CSS 2 selectors that IE doesn't natively support.
So it doesn't really make IS standards compliant, it just extends some functionnality. It doesn't, for example, correct the box model of IE5.
So I'm afraid it doesn't spare us of using CSS hacks to filter out IE.
Flippancy apart, I think using CSS to make IE7 W3C compliant is a really brilliant idea. However, the browser itself is a small part of the equations. Very few websites are W3C compliant. Vast majority of them are geared to a certain browser, depending on the whim and fancy of the designer.
For my part, I run my sites thru Anybrowser to make sure they will render on, well, as the name suggests, any browser.
Nothing to see here
> mozilla was last released yesterday - ie6 was
:-)
> released 2+ years ago
So, you're saying that the problem is not IE but the broken proprietry way of building softwarwe that can't can release new versions in time to answer real customer needs?
I think I agree
Gilad
Gilad.
Anyone who cares this much about the company's product should be given serious consideration for employment.
Microsoft should hire him...
Yeah! Doez enyone no off a goot spel checing stile sheet?
Free Firefox news reader.
I made this mirror based on the Google cache. It has the full source code, as well as the docs he wrote.
This is temporary, of course.
|/usr/games/fortune
try this one
Ceci n'est pas une
If what I have seen in the "file list" from the leaked MS code still holds true, all the HTML rendering, CSS, PNG and etc stuff is in DLLs that are totally seperate from the OS and could easily be updated independantly.
When Microsoft says "we cant fix xyz", it usually means "we cant fix xyz because it would cost us more (in money, programmer time etc) than we are going to gain (in sales, PR etc)"
via Google Cache : IE7.htc
Seriously the slashdot effect is one of the reasons that Bittorrent was originally developed.
If somebody had grabbed the files we could had a torrent mirror delivering the files in seconds.
Other than that, every other site I use works great in Mozilla, including banking sites and other sites that you'd think would be tempted to make the IE-only mistake.
What I don't miss is the pop-up I used to have to endure in IE when I disabled ActiveX, not to mention it's countless lack of features (tabbed browsing, popup blocking, etc,...).
Open Standards Portal
Unfortunately if MS continues like it has done, the web will stagnate with no cool new features appearing. MS has made it clear they're not interested in making IE standards complient or adding any new enhancements. Since 95% of people use IE (and probably have no clue that there is anything other than IE available), if IE is never enhanced then web developers will forever be stuck in the trap of never being able to use any cool new features that IE doesn't currently support. Very few web developers will be happy adding features to their website that make it unusable for 95% of their visitors (although it seems that professional web developers have no problem with making their sites only work with IE).
:)
What I'd love to see someone do at some point is re-skin FireFox to look like IE and then abuse one of IE's many security holes to replace IE with the reskinned FireFox on any machine that visits the website.
http://blog.nexusuk.org
The code itself at the moment is 27k, which is kinda hefty for most pages on initial load (though you'd only have to load it once per site). However, it includes loads of comments, which might slim it down to about half that if you stripped them out. And the savings in other code areas by not having to write double-code and browser-detection are probably worth it overall.
:-)
This would certainly make development a lot easier... I look forward to trying it out
Can someone temporarily host my site? some of it is php4. is that ok? mail me at dean@edwards.name and cc 9jack9@msn.com. i can chat on the msn account if necessary. thanks. dean edwards
The W3C have now changed policy so that in order to get to full Recommendation status, a specification has to have at least two independent implementations. If nobody can implement it, it gets kicked back a stage or two for reevaluation. This should help combat the "nice specs, shame about the real world" problem a little.
Rather than fixing IE, how about using the same method to make Mozilla render pages designed for IE correctly?
Mozilla is my favorite browser in both Windows and Linux platforms, and it works so well that whenever I stumble with a broken page, I blame it to site designers, not Mozilla, and move along.
However, sometimes I need to browse the broken page. Wouldn't it be cool if you could fire up some DHTML code to parse the broken page and make it standards compliant, so Mozilla (and others) can read it flawlessly?
This wouldn't encourage correct site design, but while in that fight, it would be a nice temporary solution.... do you think this could be done?
This type of solution doesn't really fix the problem that the CSS2 W3C standards aren't correctly supported in any browser. We deal with having to support old browser versions all the time, and believe me, the W3C standards (particularly the DOM), really help to reduce the amount of logic we need to duplicate for various user agents. However, we haven't the luxury of saying, "bah, forget the old browsers, our users have only the very best". So, our server scripts output HTML 4.01 and scripts redirect on failed functional tests and noscript tags to non-script versions of the site.
The point is, CSS2 doesn't fill its intended purpose for those who must support legacy apps. Its faster to bite the bullet and format layouts with tables, and it works for ancient browsers (Netscape 4.x anyone?). To me, that's one of the main advantages of JSP, PHP, ASP, and the like: I can include complex logic in my site and output lame ole' HTML 4.01. Code and UI are separated, and everyone is happy.
Besides, take a lesson from Google, simple layouts are best.
Did you hear? McDonald's heard about this move by Microsoft, and was inspired to imitate their strategy. McDonald's is now pushing through the Department of Agriculture to add "Big Mac" and "Chicken Nuggets" to the Food Pyramid, placing them just below the highly-coveted "Dairy Products" block. McDonald's argues that since such a huge percentage of the population is eating their food, everyone should consider their products a nutritional standard.
Space: Does not page down
Page-Down: Does not page down
Cursorkey-Down: Does not scroll down
"Microsofts Invention", the iframe works like a charm in Mozilla, simple W3C CSS fails. Since 2001.
Man, you need to leave Mr. Shatner alone when he's trying to make a point!
And the muscular cyborg German dudes dance with sexy French Canadians
It is meaningless to comment by saying "hey I use firefox", because the rest of the world is not using it. Now still 25% of my visitors are using IE 5.5, given that IE 6.0 is there 4 years ago.
Yes, it is much easier to make Mozilla/Opera more IE-complaint. [See IE Emu]
It is also quite easy to design a new set of API such that they are deligated to the correct version supported by the browser in runtime. [See DHTMLLib] [See CBE]
But these are just the wrong way.
A patch to IE means:
It is exactly something like Cygwin, which implies UNIX-style programs are correct programs. When you move to Linux is just your choice.
You've been modded a troll and it's probably right. But it's Friday, and I'm fed up with illiterate morons and I agree with you.
I come across this all the time. People send emails with stuff like:
"Can someone, please look at, this."
What does it mean? By the way, this is a manager. She gets paid more than me and yet she can't string simple written English together.
Sometimes I wonder what goes on in peoples' minds, then I realise I'd rather not know.
Yours Sincerely, Michael.