Slashdot Mirror


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."

16 of 582 comments (clear)

  1. Shows the power of IE by Anonymous Coward · · Score: 4, Interesting

    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

    1. Re:Shows the power of IE by next1 · · Score: 5, Interesting

      current project i'm working on i did all css layout (ie; no tables) and had opposite experience: same code was fine in moz / opera, needed completely different version for ie5 and ie6 due to various bugs in each.

      now actually reverting to tables for a lot of the layout because of it.

    2. Re:Shows the power of IE by gusnz · · Score: 5, Interesting

      And what's more, it doesn't even fully support CSS1, which was released in 1996! Try the ComplexSpiral demo, which is a neat demo of the effects possible in Mozilla, Opera and Safari with the 'background-attachment:' CSS1 property, which IE supports only on the BODY tag. Also, let's add 'position: static' support onto our wishlist (for watermarks/menus on pages) and PNG alpha support, and a whole bevy of regular CSS rendering bugs that have remained unsolved for years. MS claims "full CSS1 compliance", but in reality they only support the reduced CSS1 core spec.

      And to think it'll be a wait of several years before IE is updated with Longhorn... until then, writing pure CSS sites is going to remain a bug-whacking chore. Let's all be collectively glad that MS fought so hard for their "Freedom to Innovate" back in the anti-trust days ;).

      P.S. redesign slashdot using modern web standards, editors!

  2. Re:firefox by ideatrack · · Score: 5, Interesting

    But this is why FireFox still isn't onto release one. I also get problems on my XP box using some sites, especially forms; but there are also still sites that don't work correctly in any release.

    IE has the usual MS philosophy in that if something doesn't comply with the way they've done it, who cares because everyone will change to their way of thinking. I agree with those who don't like that someone else has to clean up after MS but what else are you going to do? For better or worse it is, and will be for a while yet, what most non-techy people use.

  3. Re:firefox by foolip · · Score: 5, Interesting

    Perhaps it's slashdot that needs to be made standards compliant! It would seem that someone doesn't want us to know how compliant it is.

    It seems WDG had better luck getting through, but look at all those errors!

  4. Dean Edwards by amigoro · · Score: 5, Interesting
    I thought this was something about the democratic nominations, but then saw Kerry was missing.

    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
  5. Re:Useful stylesheets by davetrainer · · Score: 4, Interesting
    I think I'd personally be more interested in a stylesheet that . . . crashes them.
    Your wait is over.
  6. Microsoft should hire him by SlashMaster · · Score: 5, Interesting

    Anyone who cares this much about the company's product should be given serious consideration for employment.

    Microsoft should hire him...

  7. Re:firefox by Imperator · · Score: 5, Interesting

    That's pretty sad, for /. to mess with their server settings to disable the w3 validator. Their HTML has been terribly broken for years. I don't understand what they do with all that money they have, because they sure haven't been improving the site very much. Makes me glad I don't subscribe and I block their ads.

    --

    Gates' Law: Every 18 months, the speed of software halves.
  8. Re:Google cache by nacturation · · Score: 5, Interesting

    I still don't know why Slashdot doesn't reference non-high bandwidth sites using the freecache service. All that needs to be done is prefix the URL with http://freecache.org/ and follow it with the full regular URL, eg:

    http://freecache.org/http://www.slowsite.com/big _p ictures.html

    It benefits the site owner by having reduced bandwidth costs and it also benefits Slashdot as we can read the articles.

    --
    Want to improve your Karma? Instead of "Post Anonymously", try the "Post Humously" option.
  9. Microsoft can fix IE by jonwil · · Score: 4, Interesting

    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)"

  10. Re:firefox by Wullis · · Score: 5, Interesting

    Perhaps it's slashdot that needs to be made standards compliant!

    The magazine A List Apart has already redone Slashdot's design with web standards. Look here:

  11. Re:Implementing CSS is HARD by JimDabell · · Score: 4, Interesting

    It really isn't so shocking that years elapse between the recommendations and implementations

    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.

  12. Still no cure for bug #97283 by Anonymous Coward · · Score: 4, Interesting
    Still no cure for bug #97283 in Mozilla. Simple thing:
    <div style="overflow:auto; height:50px; width:50px">

    1<br />
    2<br />
    3<br />
    4<br />
    5<br />

    </div>
    Mousewheel: Does not scroll down
    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.
  13. Re:Kudos, but... by Daniel_Staal · · Score: 4, Interesting

    Good theory. Unfortunately, MS has made that very difficult. There are several basic CSS/HTML formating options that work differently under IE than the standard specifies; differently enough that if you were to use them the page would either work in IE or in standards-compliant browsers. (But not both.)

    There are work arounds, using semi-legit CSS that fails in one browser or another and lets each browser see what it understands. But that is really just coding to the browser again, and occasionally breaks as groups upgrade their browsers. This promises a one-stop shop for all the main problems.

    --
    'Sensible' is a curse word.
  14. Re:What's up with that comma, dude? by sydb · · Score: 4, Interesting

    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.