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.

71 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 Maul · · Score: 3, Insightful

      There are certainly shortcomings in CSS, in my opinion, but CSS does a pretty good job when the browser supports it properly. Opera and Mozilla/Firefox currently seem to do an excellent job of supporting CSS.

      The only reason Microsoft doesn't support CSS properly is that they don't OWN it. MSIE supporting CSS properly would be a massive step towards web interoperability, which is definately against what MS wants.

      --

      "You spoony bard!" -Tellah

    4. Re:So... by nine-times · · Score: 4, Insightful
      I'm not trying to dismiss your question (I'd like to hear more answers), but even if we assume that it's flawed, I still really want to say, so what? It's still the standard.

      Is Microsoft seriously arguing that they've never thrown their weight behind an imperfect work-in-progress technology/standard before? Is the imperfectness of CSS2 made better by making IE render it improperly?

      Now, I'm not trying to keep people from discussing the finer points of possible improvements to web-standards, but can't we all agree that it's better to have all browsers interpreting the same standards the same way?

    5. Re:So... by Shimbo · · Score: 4, Insightful

      Has anyone ever justified these claims that CSS is a flawed standard?

      CSS 2 is clearly a flawed standard; it had pages of errata, then CSS 2.1 got released as a maintenance release. You can't implement a standard fully when it isn't self-consistent.

      The big problem was that, for once, the standards people were some way ahead of what was supported by the browsers. That's dangerous, because you really want at least two independent implementations of a standard to see if there is any ambiguity.

      The problem is self-perpetuating. If you take the attitude of not starting on implementing a standard until it's finish, then you're providing no feedback to the standards process.

    6. Re:So... by tesmako · · Score: 3, Interesting
      All W3C standards are heavily flawed. One can in general say this much about the situation, if something (the WWW) has been around for >15 years, and despite this:
      - The user experience is only so-so.
      - The standards are so numerous that it is hard to even have a general idea where all fit into the big picture.
      - 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.
      then something is wrong.

      The WWW should have been able to stabilize at some level years ago, making it possible to actually make a browser with a reasonable amount of effort. 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 since they have decided that there are some better way to do it.

      People have at this point come to accept it as the way things should work (being worried when there is no new standard for a year or two), but this is really a hopeless situation. If we had actually reached any level of comprehensiveness as far as web-based applications were concerned it would be less to think about, but the web is still in a primitive state.

      Consider this coders and software designers:
      - Make a presentation format that separates content from layout.
      - Allow textual information with embedded images and external plugins/objects.
      - Include some basic scripting, some basic widgets (buttons, textfields, drop-down boxes).
      - See to that it is decently easy to screen-scrape, use with screen-readers and is resolution independent (may be done by automatic switching of layouting information).

      Does anyone really feel that this has to be so complex that one can't complete it in under 15 years and one can't make it simple enough to actually make it possible for a hobbyist to implement a reader for? Sure the W3C has standards for a lot more, but that is part of the problem, the core is too huge. If one had a simple core it would have been easy to throw in MathML later and get people to pick it up, but since it is hard to in any sense even finish the core who is going to have time to make MathML work?

      Web standards need a big sanity check.

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

    8. 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)
    9. 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.

    10. 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. Spare Me by filmmaker · · Score: 4, Insightful

    "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." If MS were so concerned about quality standards, they would embrace the best thing we have: CSS 2. And then, when 2.1 or 3 came along, they'd support that promptly.

    1. Re:Spare Me by Dolda2000 · · Score: 4, Informative
      And then, when 2.1 or 3 came along, they'd support that promptly.
      CSS 2.1 has come along. The standard is time stamped 25 Feb 2004, so it has been out for over a year.

      Thus, I hope that I speak for all of us when I say: If you think CSS 2.1 is better than CSS 2, just go ahead and implement it. I sure won't mind if you choose 2.1 over 2.

  3. Generally related to the IE 7 Acid Test by tomhudson · · Score: 4, Funny

    Well, it probably does *help* to be doing acid when trying to get IE to work properly ...

  4. 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
  5. Oh The Irony by Anonymous Coward · · Score: 4, Insightful
    from the who-uses-that-css-stuff-anyway? dept.

    Certainly not slashdot, it seems. In fact, they don't seem to be adhering to any standards at all.

    Funny how that open source superiority give slashcode cruddy HTML code and horrible, outdated design.

    1. Re:Oh The Irony by Vihai · · Score: 3, Insightful

      Designers may spend hours on a single page (someone with photoshop), geeks may spend hours on a CSS and use it for hundreds of pages.

    2. 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.
  6. Why I hate developing webpages... by bdigit · · Score: 3, Insightful

    Even when you design a standards compliant webpage you still need to use hacks to get things to work and validate correctly. And because of IE who refuses to fully support CSS it just makes life more miserable for web developers wasting time on figuring out how to hack together their code to display correctly on all web browsers. I hope companies start designing webpages for Firefox only and it will display a message when you try to access the site in IE saying please use firefox to access this website.

    1. Re:Why I hate developing webpages... by someonewhois · · Score: 3, Insightful

      Why would ANY company block out IE? That's the stupidest thing I've ever heard. They still have the huge majority of the market share.

      Businesses are out to make money -- why would they care about technology? God.

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

    3. Re:Why I hate developing webpages... by msoftsucks · · Score: 3, Interesting

      True. But the experience for IE users can be worse. On the page you can say, "Best viewed with Firefox" and then have a link to www.mozilla.org. M$ has been doing this crap for years. Maybe its time for M$ to get a taste of its own medicine.

      --
      Quit playing Monopoly with Bill.
      Linux - of the people, by the people, and for the people.
    4. Re:Why I hate developing webpages... by earthbound+kid · · Score: 4, Interesting

      Since IE doesn't support CSS 2, it's really easy to slap a "Get Firefox!" tag at the bottom of a page, then use CSS 2 selectors to hide it from browsers that follow standards. That means that if IE7 actually does support standards, visitors will stop seeing a warning to switch browsers on my page. And why not? If IE actually could render a page correctly, then I wouldn't have a problem with it. Until then, I'm keeping an FF logo on the bottom of the page and hiding it with CSS 2:

      http://deadhobosociety.com/wiki/

  7. more on css2 by dmf415 · · Score: 4, Informative

    This specification defines Cascading Style Sheets, level 2 (CSS2). CSS2 is a style sheet language that allows authors and users to attach style (e.g., fonts, spacing, and aural cues) to structured documents (e.g., HTML documents and XML applications). By separating the presentation style of documents from the content of documents, CSS2 simplifies Web authoring and site maintenance.

    CSS2 builds on CSS1 (see [CSS1]) and, with very few exceptions, all valid CSS1 style sheets are valid CSS2 style sheets. CSS2 supports media-specific style sheets so that authors may tailor the presentation of their documents to visual browsers, aural devices, printers, braille devices, handheld devices, etc. This specification also supports content positioning, downloadable fonts, table layout, features for internationalization, automatic counters and numbering, and some properties related to user interface.

    more here:
    http://www.w3.org/TR/REC-CSS2/

  8. So In Other Words... by MightyMartian · · Score: 3, Insightful

    Microsoft has once again decided that it's going to go its own way, and I'm sure this means more crippled MS pages that other browsers can't read. I'm going to start making it very clear to my customers now that MS has no intention of playing nice on the web, and recommending Opera or Firefox.

    --
    The world's burning. Moped Jesus spotted on I50. Details at 11.
  9. Well... by th1ckasabr1ck · · Score: 4, Interesting
    Michael Cherry, senior analyst at Directions on Microsoft, said he believes the software giant's biggest focus will be on security issues with features and standards support taking a back seat.

    I guess that's not THAT bad.. Sure it would be nice to have CSS2 support, but security seems to be the #1 thing everyone bitches about around here and is probably more important.

    Then again, I can't really see why they don't do both...

  10. Irony at it's best by grasshoppa · · Score: 4, Funny

    MS complaining about broken standards.

    --
    Mod me down with all of your hatred and your journey towards the dark side will be complete!
    1. Re:Irony at it's best by Tenebrious1 · · Score: 4, Insightful

      well, is it a broken standard or is the standard 'flawed' in that way that they don't know how to easily support it in their codebase?

      Well, it's really only "flawed" because MS doesn't control it...

      --
      -- If god wanted me to have a sig, he'd have given me a sense of humor.
    2. Re:Irony at it's best by iamthemoog · · Score: 4, Funny

      surely "Slashdot posting articles about css standards" ?

      --
      No Norm, those are your safety glasses; I'll wear my own thanks...
  11. 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?

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

  13. Microsoft and standards.... by room101 · · Score: 4, Funny
    Microsoft considers CSS2 to be a flawed standard
    In other news, Microsoft considers every standard to be flawed. You know, no innovation and such.
    --
    room101 -- how much can you stand before they break you?
    (they always break you eventually)
  14. Translation .... by gstoddart · · Score: 4, Funny

    We don't want to support your flawed standard so we can have a chance to push our own flawed standards.

    --
    Lost at C:>. Found at C.
  15. 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.

  16. Wait till CSS2.1/3? by critter_hunter · · Score: 4, Interesting

    What a load of crap! CSS3 builds up upon CSS2.1, and even though CSS2.1 is still a candidate recommendation, it's being pushed as the standard by the W3C (as evidenced by the fact they are linking to CSS 2.1 in the navigation menu of their CSS page)

    Of course, some people are actually in favour of IE not supporting CSS any better than it currently does - with IE7 being unavailable on platforms older than XP, and any attempted improvement to CSS being likely to add more than it's share of CSS bugs, it would just make another browser developpers need to work around. The evil we know might just be better...

    --
    Karma: Could be worse (could be raining)
  17. 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."
  18. Strategy from a Different Age by Onimaru · · Score: 4, Insightful

    Once upon a time, this would have worked. Take the emerging layout standard that doesn't use your bizarro extensions and strange layout tactics, decide not to support it, and force everyone who wants slick new layout features to write for either you or everyone else, or else write every page twice.

    But I'm not so sure this is a good idea now. The fact is that more and more people are getting to the point that they would rather write for everyone but IE rather than just IE. I think falling behind on standards while steaming ahead with the next generation of crappy proprietary extensions just isn't going to work again. In fact, I think this might accellerate the death of IE.

    Bottom line: bad move. The correct response to more competition is to compete, not to stick your fingers in your ears and scream "LA LA LA I'M NOT LISTENING!"

    --
    adam b.
  19. IE7 & Google by tpengster · · Score: 4, Interesting

    Let's put two and two together:

    • Google is gaining a huge foothold on the web. Alot of Google's new sites (gmail/maps/suggest) depend heavily on Javascript
    • Microsoft decides to release a new version of IE

    Perhaps the new microsoft motto will be "IE's not done till Google doesn't run"

    This won't be a huge problem since Google can simply update their code. However, I wouldn't be surprised if alot of JS functionality that would be very useful to google either now or in the future is simply "missing" on IE7

    There has been alot of talk of Google launching a new era of computing with the web as the OS. But Microsoft controls the web (through IE), and they won't allow the web to become a competitor to Windows.

  20. Easy solution by NoSuchGuy · · Score: 4, Funny

    Rename CSS2 to CSS2.1 or CSS3

    It doesn't matter what's inside the documents.

    MS only supports what it want's to support.

    Think about it!

    --
    Grundgesetz * 23. Mai 1949 - 30. November 2007 - http://www.vorratsdatenspeicherung.de/
  21. Weakest link? by smooth+wombat · · Score: 3, Interesting

    I read the title and thought, "CSS will be IEs weakest link? Something doesn't sound right."

    This sounds like typical Microsoft logic. "Just wait a bit longer and something better will come out." CSS2 is here now and people are using it. Support it instead of forcing web designers to put in loads of ugly hacks just to make your bloated software work as it should in the first place.

    Yeah, I'm bashing Microsoft but it is deserved in this case.

    --
    We will bankrupt ourselves in the vain search for absolute security. -- Dwight D. Eisenhower
  22. Translation by bonch · · Score: 4, Insightful

    "I'm Microsoft, and I'm a big monopoly, so I'm arbitrarily deciding not to support standards I don't like. For no other reason than I don't like them. Secretly, it's just because I don't want to adopt standards that compete with my own, but my managers have told me to tell everyone I just think it's a buggy implementation. I never make any of those..."

    Someone should start an organization that publicly hands out awards to companies that severely hinder the progress of technology. Microsoft would win every year. The web has been held back for seven years now because IE won't properly support CSS2. That's like someone developing an improved version of gasoline that costs and pollutes less, and then none of the gas stations adopting it for close to a decade even though it's cheap and available. You look back and shake your head that all this time, people could have been saving money and polluting the air less and they have no idea.

    The general public doesn't even realize the web would look and interact much better than it does now. We should have been visiting more advanced websites years ago. But the web still looks and functions the way it did in 2000, because the majority browser IE doesn't adopt technological progress. It's times like these I wish I was rich enough to run public service commercials that stated all this, just to inform people how they're being hindered without even knowing it.

  23. Firefox rendering engine for ie by acomj · · Score: 4, Interesting

    Someone should make a ie "plug in" that handdles ccs. We have a couple open rendering engines (geko/khtml)..

    Could this be done?

    1. Re:Firefox rendering engine for ie by Auckerman · · Score: 4, Informative

      I use this. Though, it's not a "plugin", it works quite well.

      --

      Burn Hollywood Burn
  24. time to spend some karma by M.C.+Hampster · · Score: 4, Insightful

    Can we get the parent modded up? It's ridiculous for any employee of Slashdot to be criticizing anyone for their lack of support for web standards.

    --
    Forget the whales - save the babies.
    1. 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?
    2. Re:time to spend some karma by arkanes · · Score: 3, Informative

      Since 3 people all posted the same thing, I'm going to respond to the first and the last. The w3c validator is much stricter than the standard as written. Slashcode actually stands up quite well against the written standard. For example, closing LI tags are flagged by the validator but not required by the standard.

  25. Please excuse my ignorance here by psyklopz · · Score: 3, Insightful

    I'm surprised it hasn't been said:

    Wouldn't supporting CSS 2.1 or CSS 3 imply support for CSS 2? These standards are backwards-compatible, right?

  26. Flawed? by Apathetic1 · · Score: 3, Interesting

    I dislike CSS because it makes the most common layout formatting (columns) hard to implement. I also dislike that it has no inheritance. Just as an arbitrary illustration, I get sick of writing:

    a {
    some formatting
    }

    a.somestyle {
    more formatting
    }

    a.otherstyle {
    yet more formatting
    }

    instead of, say:

    a {
    some formatting

    .somestyle {
    more formatting
    }
    .otherstyle {
    yet more formatting
    }
    }

    Great concept, mediocre execution. This "flawed standard" garbage, however, is just a lame excuse.

    --

    My username does not make me Apathetic. It's irony, get it?

    1. Re:Flawed? by hsoft · · Score: 4, Informative

      Why not writing this instead?

      a,a.somestyle,a.otherstyle {common formatting}
      a.somestyle {specific formatting}
      a.otherstyle {specific formatting}

      --
      perception is reality
    2. Re:Flawed? by DoctorMO · · Score: 3, Informative

      Actualy,

      a {common formatting}
      a.somestyle {specific formatting}
      a.otherstyle {specific formatting}

      should work too.

    3. Re:Flawed? by oliverthered · · Score: 4, Insightful

      columns are easy, dynamic columns are a right bastard. CSS needs groups and referncing.

      myclass{
      width = grouped
      }

      myclass2{
      left = myclass.right
      height = id.height
      }

      etc...

      --
      thank God the internet isn't a human right.
    4. 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
      }
    5. 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>

    6. Re:Flawed? by AkaXakA · · Score: 3, Informative

      Actually, depending on what you want to do:

      a {common formatting}
      containing_element1 a {specific formatting}
      containing_element2 a {specific formatting}

      This decreases all the classes you need to add.

      PS. For those that don't read css: The last line reads: all the "a" located in the "containing_element2" have to recieve {specific formatting}. (and it overrides the common formatting too if you define, say, the margins again.)

  27. Slashcode... by Saeed+al-Sahaf · · Score: 3, Funny

    Many web developers may be disappointed to hear that Slashdot has decided to hold off on full CSS2 compatibility in the Slashcode product line....

    --
    "Who are in control, they are not in control of anything - they don't even control themselves!" - Glen Beck
  28. 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.

  29. Re:What does CSS2 give you that is needed? by FictionPimp · · Score: 4, Insightful

    Picture a web page that is full screen at any resolution. With a layout that is dynamic and easy to change based on user input without refreshing the page. Text that dynamically increases size for the user. A single web page that looks correct printed, on a web browser, a text mode browser, or even to a blind person. With multiple layouts that a user can choose (low bandiwth, high bandwith, no images, etc)

    All that can be done with css, and its very easy to do. And all without any tables.

    check out www.csszengarden.com or do some googles.

  30. Why they consider CSS a "flawed" standard by Caspian · · Score: 3, Insightful

    It's "flawed" because (A) it isn't in their patent portfolio, (B) they didn't invent it, (C) they don't make money off of it, and (D) it doesn't improve their marketshare or "mindshare". In other words, it's "flawed" because it isn't a Microsoft product.

    --
    With spending like this, exactly what are "conservatives" conserving?
  31. "* html" hack by Richard+W.M.+Jones · · Score: 3, Informative
    I'm using the so-called "star html"/"* html" hack to make developing for IE slightly more tolerable.

    What I do is build the site in Firefox so it renders perfectly. I know it'll likely render fine in Mozilla (obviously), Safari and Opera. But IE is likely to screw up positioning.

    So I then add extra lines: * html div#content { top: 100px; /* hack for IE */ } just after the correct code to move things around on IE. IE is broken and interprets the "* html", whereas other browsers correctly ignore it.

    In a very few cases I simply disable features in the IE version until it works - IE users get a slightly less nice looking site, but that's their problem.

    Rich.

  32. Not necessarily a policy by fm6 · · Score: 4, Interesting
    I think maybe we're stuck on the assumption that Microsoft is out to force its own technology on us, when they don't actually have that much control over events. The last time we talked about IE7, I made the assertion that CSS2 support was technically trivial. One guy came back with an interesting and thoughtful post pointing out the problems with IEs rendering engines and how proper CSS support would break a lot of web pages.

    People tend to assume that every Microsoft action is part of some evil master plan. The truth is that they're stumbling around in the dark a lot. The software development effort is conspicuously out of control, and many of their projects are a total mess.

  33. I smell male bovine fecal matter by erroneus · · Score: 3, Insightful

    Okay, let's now start tossing out possible reasons Microsoft wouldn't want to support CSS properly.

    I'm guessing it, in some way, has to do with Market edge. More specifically, since a great deal of web sites design their pages to work with [flawed] MSIE rendering, all other browsers might be perceived as broken or inferior by the end user. "It worked fine under MSIE... let's just go back to it."

    Essentially, I believe this demonstrates harm to the internet community at large and an effective hijacking of internet standards. Perhaps it would be considered a frivolous lawsuit in the end, but perhaps the W3C should file some sort of suit against Microsoft over the matter. It's the only thing that they and the public at large seems to understand really. "Why is Microsoft being sued again? Breaking the internet? Crap!"

  34. Re:Stylesheets and MS by JimDabell · · Score: 3, Informative

    Didn't MS introduce their own "standard" for stylesheets at one point?

    You're probably thinking of JSSS, which was a stylesheet language based upon Javascript, introduced by Netscape 4, that competed with CSS. Internet Explorer has had a partial implementation of CSS since 3.0 (it was the first browser with CSS support).

  35. Re:Well, hey Microsoft -- I say F*CK YOU right bac by xeno-cat · · Score: 3, Insightful
    You clearly have never actually worked before. He is not saying that he won't do it, he is just saying he is going to break out the billing so it is clear what they are paying for! It's not like if he just sticks his head in the sand the work required to make a website look nice in IE will magiacly vanish. jeezus.

    Kind Regards

    --
    "A few great minds are enough to endow humanity with monstrous power, but a few great hearts are not enough to make us w
  36. Microsoft has not decided anything by dioscaido · · Score: 4, Informative

    There are RUMORS people. The fact is, MS hasn't made any definite statements about IE7, except for announcing that there will be one. They've been very tight lipped about it, even within our internal-only IE discussion lists. Lets not waste our breath discussing this 'issue'.

  37. we can, but MS can't by GunFodder · · Score: 4, Insightful

    I think that the latest incarnation of CSS may be the "standard", but since IE is by far and away the most popular browser its method of rendering pages is actually the de facto standard.

    I don't know how many times I've read this statement from other people - "I like Firefox/Mozilla, but it doesn't render my bank/news/etc site correctly so I have to use IE." Or "I would use another browser but I support IE at work." A lot of people are stuck with IE because of its poor interoperability.

    Now why would MS decide to spend money on extra development effort on a project that earns no revenue in order to increase interoperability, thereby incouraging web developers to fix their web sites so that competing browsers can render them correctly? This loses them both dollars and marketshare.

  38. Re:But it renders by mopslik · · Score: 4, Insightful

    If a page doesn't adhere to standards, but renders well in popular browsers, what's the problem?

    The problem, IMO, is that you don't know why or why not things render well.

    By conforming to standards, you have a (debatably) clear set of rules that define certain behaviours. For example, you will know that if you want to have some number of pixels pad your elements, then you will not have to resort to ugly hacks to get the same layout in BrowserX as you do in BroswerY. Why? Because each browser will reference the rules for adding the specified amount of padding to an element, in the right place, and in the right proportions.

    By not supporting standards, you have a number of problems:

    1. You can't use the rules to plan your layout, as they may not apply to your browser. So when someone comes up with a nifty idea based on rules, you may not be able to use it yourself.
    2. When you do use a supported rule, and it works in a different manner, you may have to adjust your design. This is one of those "it kind of works" situations, which only causes more headaches and confusion.
    3. When you do use a supported rule, and it does work in your browser, you will only know that it works under a specific set of cirumstances defined by your instance. Does it really work, or does it work sometimes?

    Imagine whipping up a simple page to test out a new design idea in your browser of choice. Everything looks good. Now you try to use it on your production page. Something looks wrong. Is it because you've included it in a tag that overrides your specifications? Is it because you've arranged it next to an element whose properties are spilling over into your space? Is it because you tested it inside of a tag, for which the specification holds, but have erroneously tried to apply it to a tag that does not support it? How will you know, unless your browser developers tell you -- assuming they know themselves?

    For me, that's why CSS is useful. For the most part, it's pretty clear as to what things support what attributes.

    Since your post was originally about Slashdot's (non-)adherence to CSS and other web standards, here's one major incentive to switch over: bandwidth. Does anyone really like throwing money away?

  39. They do own it. by Auckerman · · Score: 3, Interesting

    "he only reason Microsoft doesn't support CSS properly is that they don't OWN it."

    Considering Microsoft has sucessfully patented CSS, I don't see how they don't "own" it. Even if they have given W3C a license to it.

    --

    Burn Hollywood Burn
  40. 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.

  41. CSS2 since 1998 by omega9 · · Score: 4, Informative
    ..the company is waiting for a later point release, such as CSS2.1 or CSS3..

    Here are some interesting things to consider:
    • The CSS2 recommendation has been out since May, 1998. That's almost 7 years ago.
    • The CSS2.1 recommendation has actually been out since February, 2004, more then one year ago.

    So, if Microsoft is refusing to attempt proper support for a standard that's been around for close to 7 years, and is waiting for a standard that's already been floating around for a year, why should anyone expect them to support anything whenever it's actually released?

    I know this isn't a big suprise, but it's further evidence that they could honestly care less about standards unless there's something they can get out of it. When CSS3 is eventually released, we probably won't get support for another 5 years!
    --
    I'm against picketing, but I don't know how to show it.
  42. Heh by aftk2 · · Score: 4, Insightful

    Why would anybody want to use display: inline-block. The article I link to says "The real use of this value is when you want to give an inline element a width. In some circumstances some browsers don't allow a width on a real inline element, but if you switch to display: inline-block you are allowed to set a width." How many times are people going to run into a situation to need this?

    *snip*

    For a long time I've been trying to get a list that will appear like a table. You can make a list set them to display as inline. It works, but then you can not set a width, which then makes it useless.

    I find it funny that the example you used to document CSS's failings is solved by a modification that you profess nobody needs.

    --
    concrete5: a cms made for marketing, but strong enough for geeks.
  43. Re:XHTML 1.1 and IE: Fix for the MIME type problem by Fweeky · · Score: 3, Informative

    > if(isset($_SERVER["HTTP_ACCEPT"]) && stristr($_SERVER["HTTP_ACCEPT"],"application/xhtml +xml"))

    This is a common mistake. You really should parse out each entry and select based on q-values. What happens when the client says application/xhtml+xml;q=0 ("XHTML is unacceptable"), or even text/html;q=1.0, application/xhtml+xml;q=0.6 ("I prefer HTML, but I can handle XHTML to some extent")? Or is it ok to ignore one spec if you kinda follow another better? ;)

    Oh, and don't forget to switch your <link rel="stylesheet"> bits with <?xml-stylesheet ?> when you're serving as XML.

    Personally, I tend to just stick with HTML 4.01. If I'm going to use XHTML, I like to use an XSLT to transform it to HTML 4.01 for naughty little browsers, which also handily enforces well-formedness in a way that allows for degredation to text/html-served broken XHTML instead of a browser-level parse error.