Slashdot Mirror


CSS Support Could Be IE7's Weakest Link

Ritalin16 writes "Many web developers may be disappointed to hear that Microsoft decided to hold off on full CSS2 support with IE 7.0. As said by Microsoft-Watch: 'One partner said that Microsoft considers CSS2 to be a flawed standard and that the company is waiting for a later point release, such as CSS2.1 or CSS3, before throwing its complete support behind it.'" More commentary available from ZDNet. Generally related to the IE 7 Acid Test thrown down by Opera.

19 of 575 comments (clear)

  1. So... by Anonymous Coward · · Score: 5, Insightful

    Support CSS 2.1. We're really not picky. Anything is better than nothing.

    1. Re:So... by tabkey12 · · Score: 5, Interesting

      Has anyone ever justified these claims that CSS is a flawed standard? In slashdotters experience, is CSS flawed, and if so, how?

    2. Re:So... by Moonshadow · · Score: 5, Insightful

      CSS2 has some flaws, but it's a far cry better than anything IE currently offers. Writing cross-browser CSS can be an exercise in frustration unless you resort to browser-specific stylesheets. I just want IE to support, you know, the standard.

    3. Re:So... by angrytuna · · Score: 5, Informative
      From a google cache of a transcript with some members of the IE dev team:

      Host: Dave (Microsoft)
      Q: ali : Will the next release have full CSS 2 and CSS 3 support?
      A: Hi Ali, It's too early to make any commitments as we concentrate on implementing the features that make most sense to our customers. CSS2 is actually a flawed standard that nobody has full support for. CSS2.1 is currently in draft recommendation to fix this and we hope to improve out support there in the future.

      And from the W3C's page on the subject:
      CSS 2.1 corrects a few errors in CSS2 (the most important being a new definition of the height/width of absolutely positioned elements, more influence for HTML's "style" attribute and a new calculation of the 'clip' property), and adds a few highly requested features which have already been widely implemented. But most of all CSS 2.1 represents a "snapshot" of CSS usage: it consists of all CSS features that are implemented interoperably at the date of publication of the Recommendation.

      So it looks like they are intending at least some form of growth in this direction. They did fix the box model problem with IE 6, so I'm inclined to take this statement at face value.

      --

      It is a solemn thought: dead, the noblest man's meat is inferior to pork.

    4. Re:So... by critter_hunter · · Score: 5, Informative

      No browser supports CSS2 in its entirety (only KHTML browsers supports text-shadow, for instance), but CSS2.1 is fully supported by Opera 7.5, and Mozilla supports about 99.9% of it (and the parts they don't support aren't really important - counters are nice but far from essential)

      --
      Karma: Could be worse (could be raining)
    5. Re:So... by Anonymous Coward · · Score: 5, Informative

      All W3C standards are heavily flawed.

      You've read them all? And tried implementing them all? And written documents using them all? If not, then you aren't qualified to make such a statement.

      Writing a reader for it is such a huge undertaking that not even the largest and most successful businesses manage to pull it off well then something has gone very wrong.

      Blame the browser vendors. If they hadn't engaged in an arms race to build the most complex error workarounds, then it would be a much simpler matter to build a user-agent (that's the correct term for what you call "a reader").

      The underlying problem is not that hard, it is just a continuos pie-in-the-sky standardization effort ripping everything invented at any point apart in the next revision

      HTML, CSS, HTTP, ECMA-262 have all been incrementally improved while remaining backwards compatible. The core specifications that web browsers implement have not been "ripped apart" even once since their conception.

      Don't believe me? Go ahead, write an HTML (as in 1.0) document and you'll find that web browsers understand it just fine. Talk HTTP 0.9 to Apache, and watch it respond just fine. Hell, you can link CSS 3 stylesheets with HTML 2.0 documents and have it work exactly as you would expect, even though HTML 2.0 predates CSS by years.

      Make a presentation format that separates content from layout.

      HTML describes the content of a document. CSS gives presentation.

      Allow textual information with embedded images and external plugins/objects.

      HTML does this.

      Include some basic scripting

      ECMA-262

      some basic widgets (buttons, textfields, drop-down boxes).

      HTML does this

      See to that it is decently easy to screen-scrape, use with screen-readers

      HTML does this

      and is resolution independent

      CSS gives you the option of writing resolution independent or resolution dependent stylesheets.

      Does anyone really feel that this has to be so complex that one can't complete it in under 15 years

      Funny, all of the above has been working in browsers for years.

      one can't make it simple enough to actually make it possible for a hobbyist to implement a reader for?

      Plenty of hobbyists have written browsers. The original WorldWideWeb browser was little more than a hobby project.

      Sure the W3C has standards for a lot more, but that is part of the problem, the core is too huge.

      I fail to see how much smaller it could get. HTML for content, CSS for presentation, HTTP to retrieve resources across a network, URIs for addresses, and ECMA-262 for client-side scripting.

      By all means, please point out which one is unnecessary or too complex, because at the moment, you sound like just another W3C naysayer who doesn't know what he is talking about.

    6. Re:So... by masklinn · · Score: 5, Interesting

      CSS 2.0 (or even 2.1) being *so* unbelievably tough to implement is probably the reason why no one managed to create IE5.x and IE6 CSS "patches"...

      oh wait, it's been done, and with only Javascript

      Rewrite large parts of the browser, yeah, right...

      --
      "The way we can tell it's C# instead of Haskell is because it's nine lines instead of two." -- wadler
  2. Just like... by turtled · · Score: 5, Insightful

    See, that's the problem. It's just like Microsoft to say "We'll wait til later ( point release, such as CSS2.1 or CSS3) before throwing our complete support behind it" I don't understand! You have to plan for the future, no plan after the fact!

    --
    "I cannot think of any need in childhood as strong as the need for a father's protection." -- Sigmund Freud
  3. This is silly... by Anonymous Coward · · Score: 5, Insightful

    Yesterday I had to make a page.
    I made it in firefox with no problems. Then, I looked at it in IE and it was terrible. If I code to standards why can't microsoft make their products support standards?

  4. Flawed logic by wileynet · · Score: 5, Interesting

    We consider the standard to be flawed. So instead we will continue with our flawed support of the previous standard.

  5. At this point, who cares? by Ars-Fartsica · · Score: 5, Insightful

    People will use IE7 because windows update will automatically put it in place of IE6 one day. It will fix some bugs and create others. It will not change how web developers create sites, it will not derail Firefox, it will not make people salivate for Longhorn.

  6. Re:Flawed Standard? by nightski · · Score: 5, Interesting

    What. Just because their products have their own flaws means they should adopt all technologies that are flawed?

    --
    "Ideas without action are worthless."
  7. Re:Why I hate developing webpages... by tepples · · Score: 5, Insightful

    Designing pages for one particular Web browser is a bad idea

    Using CSS2 and designing for the set of all browsers known to support most of CSS2 isn't "designing pages for one particular Web browser".

  8. Well, hey Microsoft -- I say F*CK YOU right back by l0ungeb0y · · Score: 5, Insightful

    I've decided that from here on out I will invoice my CSS time for IE seperately. Being that I create most browser interfaces in XHTML and all layout is 100% CSS, I will now isolate the huge chunk of time I must spend on each project for IE compatability. I will also make it clear UPFRONT by making an accountance in my proposol for just how my design time will be devided up and how much time I estimate to spend on IE compatability vs supporting the rest of the world.

    Why single IE out on my invoices and proposols? To let companies know where that extra $2,000.00 went for 20-30 hours of my time. That's why. And in hopes that they will opt not to engage in that expenditure.

    I'd urge all other UI designers and developers to do the same.
    And if the client decides that they wish not to support IE, a small victory shall have been won.

    It was fine 5-6 years ago to say "Ooops -- you're using that Netscape piece of shit, please come back using a real browser"
    I say it's time we start doing this again, but for IE and for the exact same reasons.

  9. Re:Flawed? by JimDabell · · Score: 5, Informative

    I dislike CSS because it makes the most common layout formatting (columns) hard to implement

    That's a common misconception. CSS has made that easy for seven years (display: table-cell), it's part of the CSS 2 specification.

    The reason why nobody knows about it is because even though Safari, Mozilla, Opera, Konqueror, Firefox, Omniweb, etc. implement it, Internet Explorer doesn't, which means it might as well not exist.

    This is why everybody is so keen for Microsoft to implement CSS 2. Or CSS 2.1, which is CSS 2.0 with the more difficult parts taken out and a couple of proprietary Internet Explorer properties thrown in.

    It's not "CSS making it hard", it's "CSS making it easy and Microsoft making it hard".

    I also dislike that it has no inheritance.

    For most purposes, grouping selectors is more than enough. The example you gave is a bit odd, because CSS lets you do that easily:

    a {
    some formatting
    }

    a.somestyle {
    more formatting
    }

    a.otherstyle {
    yet more formatting
    }
  10. Re:time to spend some karma by drew · · Score: 5, Interesting

    if by "adheres quite reasonably" you mean "enough errors on the main page that the w3c validator gave up and stopped counting after the first 50", then yes, slashdot adheres quite reasonably to HTML 3.2.

    --
    If I don't put anything here, will anyone recognize me anymore?
  11. Re:Oh The Irony by jm92956n · · Score: 5, Informative
    Check out Taco's latest Journal entry, dated March 8 (excerpts below):
    One of the most common requests I get today is to bring Slashdot up to date with modern web technologies like CSS & XHTML.

    The truth is that bringing Slashdot into the modern era of web design would please me beyond measure. It is unfortunately, non-trivial to do this.

    Fortunately for us, Wes, OSTGs super HTML pimp is going to take a crack at actually making a proper CSS/xHTML layout for Slashdot.

    --
    An effective signature identifies a particular user amongst a base of thousands.
  12. Re:Flawed? by eggz128 · · Score: 5, Informative

    I'm not entirely sure this is what you are after, but did you realise you can combine classes?

    i.e. .style1 {color: red;} .style2 {background-color: blue;} .style3 {border: 2px solid black;}

    <p class="style1">I Have style 1</p>
    <p class="style1 style2>I have style1 and style2 combined</p>
    <p class="style1 style3">I have style1 and style3</p>
    <p class="style1 style2 style3">I have the lot!</p>

  13. MS Moving Away from Browser-Based Applications by eDavidLu · · Score: 5, Interesting

    The real reason why Microsoft does not fully embrace W3C standards is because they want to move away from browser-based application. This is also the reason why they let IE development go into the tank.

    In the browser-based application model, MS does not control the desktop. They have competitions from Firefox and Opera. More importantly, MS also does not control the server. They have competition not only from Apache, but also Google, Amazon, eBay, AOL, and anyone who publishes a web application.

    Microsoft's aim is to control both ends of a network application. And the way they are going to do this is to replace HTTP web servers with IIS and Exchange Server and to replace web browsers with Outlook. The .NET platform is just a step towards that goal. If you accept IIS/Exchange and Outlook as a server/client network application platform, there is no need for W3C standards. It also eliminates any competition, or at least make the competition dependent on Microsoft technologies.

    Therefore, any effort that Microsoft expends into making "the web" more usable, such as CSS compliance and updates to IE, only enhances the browser-based application model and hurts Microsoft in the long run.