Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×
The Internet Internet Explorer Technology

CSS Support Could Be IE7's Weakest Link 575

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.
This discussion has been archived. No new comments can be posted.

CSS Support Could Be IE7's Weakest Link

Comments Filter:
  • So... (Score:5, Insightful)

    by Anonymous Coward on Thursday March 17, 2005 @12:39PM (#11965803)
    Support CSS 2.1 [w3.org]. We're really not picky. Anything is better than nothing.
  • Spare Me (Score:5, Insightful)

    by filmmaker ( 850359 ) * on Thursday March 17, 2005 @12:40PM (#11965812) Homepage
    "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.
  • Just like... (Score:5, Insightful)

    by turtled ( 845180 ) on Thursday March 17, 2005 @12:41PM (#11965820)
    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!
  • Oh The Irony (Score:4, Insightful)

    by Anonymous Coward on Thursday March 17, 2005 @12:42PM (#11965831)
    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.

  • Comment removed (Score:3, Insightful)

    by account_deleted ( 4530225 ) on Thursday March 17, 2005 @12:42PM (#11965833)
    Comment removed based on user account deletion
  • by MightyMartian ( 840721 ) on Thursday March 17, 2005 @12:42PM (#11965836) Journal
    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.
  • Boo... Sort of (Score:3, Insightful)

    by MankyD ( 567984 ) on Thursday March 17, 2005 @12:44PM (#11965853) Homepage
    Agreed, CSS needs some work, but its a hell of a lot better than nothing at all (or flawed support, anyways.) What gives?
  • This is silly... (Score:5, Insightful)

    by Anonymous Coward on Thursday March 17, 2005 @12:44PM (#11965855)
    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?
  • by Ars-Fartsica ( 166957 ) on Thursday March 17, 2005 @12:46PM (#11965868)
    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.
  • by someonewhois ( 808065 ) * on Thursday March 17, 2005 @12:46PM (#11965877) Homepage
    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.
  • by Onimaru ( 773331 ) * on Thursday March 17, 2005 @12:47PM (#11965887)

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

  • by Arctic Dragon ( 647151 ) on Thursday March 17, 2005 @12:48PM (#11965894)
    Designing pages for one particular Web browser is a bad idea, especially for a browser that has a relatively small market share (sure, Firefox is gaining popularity, but IE still has the majority of market share). Locking out users is unprofessional and bad for business.
  • by Tenebrious1 ( 530949 ) on Thursday March 17, 2005 @12:50PM (#11965912) Homepage
    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...

  • Translation (Score:4, Insightful)

    by bonch ( 38532 ) on Thursday March 17, 2005 @12:50PM (#11965916)
    "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.
  • Re:So... (Score:5, Insightful)

    by Moonshadow ( 84117 ) on Thursday March 17, 2005 @12:51PM (#11965930)
    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.
  • by Anonymous Coward on Thursday March 17, 2005 @12:53PM (#11965950)
    Erm, I can't recommend to my customers Firefox or Opera if they refuse to support the correct Microsoft standards. IE commands 90% of the browser market and sites will just have to use whatever MS bundles in. It's called capitalism, and it's good for America.
  • by tepples ( 727027 ) <tepples@gmai l . com> on Thursday March 17, 2005 @12:55PM (#11965962) Homepage Journal

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

  • by M.C. Hampster ( 541262 ) <M,C,TheHampster&gmail,com> on Thursday March 17, 2005 @12:58PM (#11965999) Journal

    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.

  • by psyklopz ( 412711 ) on Thursday March 17, 2005 @01:00PM (#11966012)
    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?

  • Re:So... (Score:4, Insightful)

    by Maul ( 83993 ) on Thursday March 17, 2005 @01:01PM (#11966025) Journal
    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.
  • by ad0gg ( 594412 ) on Thursday March 17, 2005 @01:02PM (#11966036)
    Actually IE makes it very easily for web developers, with 90% of the market, you only need to design for one browser. And the 10% who run opera/mozilla are the ones who usually run ad blocking software, so you can fuck them anyway without any real loss in revenue.
  • one question (Score:2, Insightful)

    by danielk1982 ( 868580 ) on Thursday March 17, 2005 @01:03PM (#11966054)
    Wouldn't a company who owns over 90% of the market essentially dictate what is an what isn't a standard?

    If Microsoft doesn't back CSS2 then CSS2 has no chance of becoming a standard.
  • Re:So... (Score:5, Insightful)

    by nine-times ( 778537 ) <nine.times@gmail.com> on Thursday March 17, 2005 @01:05PM (#11966067) Homepage
    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?

  • by gl4ss ( 559668 ) on Thursday March 17, 2005 @01:07PM (#11966100) Homepage Journal
    well, if they supported it properly web designers would have easier job of making the pages look the same on all browsers.

  • by l0ungeb0y ( 442022 ) on Thursday March 17, 2005 @01:09PM (#11966119) Homepage Journal
    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.
  • by FictionPimp ( 712802 ) on Thursday March 17, 2005 @01:11PM (#11966145) Homepage
    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.
  • Comment removed (Score:3, Insightful)

    by account_deleted ( 4530225 ) on Thursday March 17, 2005 @01:13PM (#11966173)
    Comment removed based on user account deletion
  • Re:So... (Score:5, Insightful)

    by Shimbo ( 100005 ) on Thursday March 17, 2005 @01:18PM (#11966233)
    Has anyone ever justified these claims that CSS is a flawed standard?

    CSS 2 is clearly a flawed standard; it had pages of errata [w3.org], 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.
  • Re:Oh The Irony (Score:4, Insightful)

    by Vihai ( 668734 ) on Thursday March 17, 2005 @01:19PM (#11966247) Homepage
    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.
  • Re:So... (Score:2, Insightful)

    by oliverthered ( 187439 ) <oliverthered@NOSpAM.hotmail.com> on Thursday March 17, 2005 @01:21PM (#11966271) Journal
    1: the whole margins thing is odd (and this is one of M$'s main problem areas in IE)

    width = width + margin, not content width = width - margin, as you would expect.

    This makes layouts trickey.

    Also, it's hard to properly layout dynamic content, say for instance: I want all members of class abc to be the same with, but that width is dynamic dependant on the content, or I want my page body to be the menu width away from the edge and I want the menu width to be the size of the largest entry + a 1em margin. No can do.

    You should be able to use group sizes and reference other elements sizes in style sheets. Otherwise it's almost impossible to make a nice dynamically sizing website using CSS.
  • by erroneus ( 253617 ) on Thursday March 17, 2005 @01:21PM (#11966277) Homepage
    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!"
  • Re:Flawed? (Score:4, Insightful)

    by oliverthered ( 187439 ) <oliverthered@NOSpAM.hotmail.com> on Thursday March 17, 2005 @01:26PM (#11966345) Journal
    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...

  • Re:IE7 & Google (Score:3, Insightful)

    by the pickle ( 261584 ) on Thursday March 17, 2005 @01:30PM (#11966409) Homepage
    Yeah, but would most people rather have a working Google or a working IE?

    I submit that the unwashed masses would now prefer the former to the latter.

    p
  • Re:Flawed? (Score:3, Insightful)

    by nine-times ( 778537 ) <nine.times@gmail.com> on Thursday March 17, 2005 @01:32PM (#11966423) Homepage
    I dislike CSS because it makes the most common layout formatting (columns) hard to implement.

    I'd agree to that. In fact, I find a lot of the positioning control a little hard to deal with, but I wonder if some of that might be the browser implementations rather than the standard itself. You know, sometimes I try to place something, and I'm pretty sure I've done it the right way, but it takes a hell of a lot of tweaking to get it to show up where I want it. That might be browser issues, but it might also be that I'm somehow confused by the standard and missing some detail of what I'm doing.

    Just as an arbitrary illustration, I get sick of writing:

    Personally, I think I'd end up getting *more* confused by your layout. Too many brackets, too much nesting. Maybe you're right that there's a better way, but I'm not sure what.

    But I think you're right to refer to these issues as 'things you dislike' rather than flaws. I don't believe I'm arguing with you if I say that these are areas where CSS has room for improvement, but they aren't "flaws".

  • by noidentity ( 188756 ) on Thursday March 17, 2005 @01:42PM (#11966591)
    So you conclude that IE is broken because it looks terrible in IE and good in Firefox? Don't assume that all HTML code is valid and standards-compliant, and that something looking good in Firefox is proof that it's compliant HTML and that what you see in Firefox is correct.
  • Re:So... (Score:2, Insightful)

    by LuxFX ( 220822 ) on Thursday March 17, 2005 @01:43PM (#11966602) Homepage Journal
    is CSS flawed, and if so, how?

    It doesn't conform to Microsoft's version of CSS. They believe that however IE does things, should be the standard. Otherwise, it's flawed.
  • by FuzzyBad-Mofo ( 184327 ) <fuzzybad@noSpAm.gmail.com> on Thursday March 17, 2005 @01:48PM (#11966661)

    You're rationalizing. Suppose IE gets down to 60% market share. Are you prepared to go back and fix all those non standards-compliant sites? It's much better to write to the standards to begin with.

    The upshot of developing with Mozilla/Firefox, is that cross-browser compliance is a breeze. But if you develop your site with IE, then try to fix it for other browsers.. good luck!

  • by msoftsucks ( 604691 ) on Thursday March 17, 2005 @01:54PM (#11966748)
    My "mission" for my company is to provide good IT services for as low a cost as possible. Right now, I can't really do that because M$ doesn't want to play by the rules. When creating a web site, I actually have to create 2 web sites. One for all those browsers that follow the true standards, and one for M$ IE. That costs my company alot of money. The goal is to reduce this to 1, by eventually removing the need to code specifically for IE. Now, M$ has a choice as to how this is going to happen. It either supports the public standards that make up the Internet or not. Right now, its choosing the latter approach. Since its doing this, I'm forced to take other measures to help reduce the need to code for multiple browsers. This includes educating users that IE is an inferior browser. By taking a few minutes of my time, and placing a "Best viewed with Firefox" link on my web site, I'm doing exactly that.
  • by KarmaMB84 ( 743001 ) on Thursday March 17, 2005 @02:03PM (#11966862)
    Yeah, phasing out obselete products after more than half a decade is pretty shitty.
  • by xeno-cat ( 147219 ) on Thursday March 17, 2005 @02:11PM (#11966955) Homepage
    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

  • Re:Oh The Irony (Score:3, Insightful)

    by spectre_240sx ( 720999 ) on Thursday March 17, 2005 @02:20PM (#11967062) Homepage
    Didn't A List Apart already take care of this task for them? I believe the code was donated and everything.
  • by ratsnapple tea ( 686697 ) on Thursday March 17, 2005 @02:23PM (#11967093)
    Not closing <p>s and <li>s is one thing, but those are far from the only errors in Slashcode's HTML output. Invalid attributes, invalid elements, missing character encoding... the list goes on and on. But that's sort of beside the point. The point is that it's obvious Slashcode's developers don't give a shit about web standards, so it's rather hypocritical for them to whine about IE's doing the same.
  • by GunFodder ( 208805 ) on Thursday March 17, 2005 @02:26PM (#11967132)
    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.
  • by KarmaMB84 ( 743001 ) on Thursday March 17, 2005 @02:26PM (#11967134)
    Just make sure that the target platform wasn't IE all along before you go and do that. Charging extra for compatibility with the primary target platform would be a bad move. ;p This would be like me writing an application for MacOS X then charging the client to port it to Win32 when the target platform was Win32 all along.
  • Re:But it renders (Score:5, Insightful)

    by mopslik ( 688435 ) on Thursday March 17, 2005 @02:30PM (#11967202)

    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 [incutio.com] 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 [alistapart.com]. Does anyone really like throwing money away?

  • by Mustang Matt ( 133426 ) on Thursday March 17, 2005 @02:31PM (#11967214)
    What they only support their own flawed standards?
  • Re:IE7 & Google (Score:2, Insightful)

    by jbplou ( 732414 ) on Thursday March 17, 2005 @02:34PM (#11967242)
    Not to troll, but your crazy. If they limit Javascript they will kill millions of websites, just to get at Google. Make no mistake Google is still small time compared to MS, large corporate clients would be very upset when their webpages cease to function properly on IE. MS wouldn't do something to hurt themselves with businesses
  • by eric_brissette ( 778634 ) on Thursday March 17, 2005 @02:36PM (#11967272)
    Pshh, have some imagination! Just use ActiveX to install it like the rest of the software Joe Desktop doesn't know he installed.
  • But it IS flawed (Score:3, Insightful)

    by melted ( 227442 ) on Thursday March 17, 2005 @02:43PM (#11967392) Homepage
    You have to put in INCREDIBLE amount of effort to do make even the simplest things work. Ever tried centering a block object on the page _without_ using tables? I use CSS2 in my work, and it's suitable for simple things like borders, colors, fonts, etc. Unfortunately, for a lot of design tasks it's more pain than it's worth, even if you code for just Firefox.
  • Re:So... (Score:3, Insightful)

    by IamTheRealMike ( 537420 ) on Thursday March 17, 2005 @02:51PM (#11967499)
    The web used to be easy to implement readers for, back when it was first created. Then it got interesting and useful.
  • by Anonymous Coward on Thursday March 17, 2005 @03:09PM (#11967738)

    I guess this explains why you think it's a good idea to snub customers.

    In what way is he snubbing them?

    As important as web standards are, cross-browser site compatibility is NOT the customer's problem to solve.

    It becomes their problem when they have to pay extra to have a website that works in Internet Explorer. They have to pay extra because it's more work. It's more work because Internet Explorer is extremely deficient in a number of areas.

    To give an analogy, let's say you were paying a moving company $2000 to move your stuff from Chicago to LA. Then they say that it will take a month instead of 2 weeks unless you pay $1500 extra because one of the stretches of highway is rough and doesn't have nice rest/gas stations. Are you going to start lobbying and writing to state officials for highway improvements or simply find another moving company?

    If the analogy were accurate, the other moving companies would simply charge the extra without telling you why.

    Other web developers don't magically take less time to work around Internet Explorer's problems just because they don't list it as a separate line item on the invoice.

    I'd be happy to compete with the original poster for his business by using internally available and re-usable tools/techniques to solve the compatibility problems.

    You can't solve the compatibility problems, only Microsoft can do that. Things like Dean Edwards' work goes a long way, but is dependent upon Javascript, which is unacceptable for many purposes.

  • by FuzzyBad-Mofo ( 184327 ) <fuzzybad@noSpAm.gmail.com> on Thursday March 17, 2005 @03:35PM (#11968167)

    I think you're overstating the case for browser differences in regards to emerging web technologies (XMLHttpRequest, etc.). At least 95% of today's web sites can easily be made cross browser compliant without resorting to the insanity of UserAgent sniffing.

    By using a valid DOCTYPE, modern browsers will be placed into standards compliance mode. This will eliminate most rendering differences. Next, define CSS whitespace attributes for block level tags, which will eliminate any differences in spacing. For scripting, usage of getElementById and getElementsByTagName will allow cross-browser DHTML with few browser-specific hacks.

    So you see, it's really not that hard to achive standards compliance. When I am forced to include some browser-specific code due to lack of standardization or differing implementations, I try to make it as generic as possible, and provide a fallback method.

  • by glsunder ( 241984 ) on Thursday March 17, 2005 @03:38PM (#11968214)
    I guess we should just step up evangelizing other browsers. We should compare IE to paint, and other browsers (like firefox, opera, etc) to programs like photoshop and psp. If IE had under 50% market share, I'd bet 10 to 1 they'd be supporting CSS, and IE7 would have been out by now.
  • Heh (Score:5, Insightful)

    by aftk2 ( 556992 ) on Thursday March 17, 2005 @04:49PM (#11969053) Homepage Journal
    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.
  • by Master of Transhuman ( 597628 ) on Thursday March 17, 2005 @05:10PM (#11969331) Homepage

    Having spent the last couple MONTHS trying to get a Web site to:

    1) Load external content using iframes or object tags in four different browsers;

    2) use CSS to emulate frames in four different browsers (all current - forget about the older ones entirely);

    it is clear to me that the Web industry is screwed up beyond all recognition.

    Big surprise - it's a part of the IT industry...

    First, the Web was never intended to be either an application platform or a desktop publishing platform - which seems to be what a lot of Web site designers and standards committees want to achieve.

    Sorry, the technology simply isn't there in HTML, CSS and JavaScript to do this.

    Second, the industry has as usual spent all of its time producing dozens of browsers - NONE of which support the standards in their ENTIRETY and ALL of which are incompatible with every other browser in existence in at least some respects.

    Microsoft of course, as usual, is the worst offender. Web designers talk about the "IE factor" - the incompatibility and bugginess of IE with respect to virtually every standard which adds twenty percent or more to the development time for a Web site.

    The industry has a LONG way to go to get the same functionality as client-server approaches to app implementation.

    And as long as Microsoft is in the game, it ain't ever gonna happen.

    My advice:

    1) Stop trying to make your Web site FANCY (which is not the same as making it LOOK GOOD) and start trying to make it USEFUL to people.

    2) If you want a "Web app", use other technology than HTML, CSS, and JavaScript.

  • by binner1 ( 516856 ) <(bdwalton) (at) (gmail.com)> on Thursday March 17, 2005 @06:49PM (#11970232) Homepage
    I use the same approach when explaining this problem to people. People don't care about standards. They care about what works. If you can get them using firefox and then tell them that the pages are bad, not the browser, you're well on your way to a vocal supporter for standards (they just don't know it...).

    The 'enlightened' internet browsing population isn't large enough to effect change in a reasonable timeframe. We need to recruit anyone we can...Just because they don't understand the issues doesn't mean they can't help.

    10 print '$preferred_standards_compliant_browser is good'
    20 print 'IE specific web pages are bad'
    30 goto 10

    -Ben
  • Re:"* html" hack (Score:3, Insightful)

    by mu-sly ( 632550 ) on Thursday March 17, 2005 @08:23PM (#11971001) Homepage Journal

    Yuk! How about because it's unnecessary, unreliable, harder to maintain and extremely kludgy to boot?

    Browser sniffing is the worst way of making web pages, the way that was favoured around the time of the dot-bomb. Instead of testing for actual abilities and using what is available, it relies on assumptions, which are often wrong. Why restrict something and say "sorry, your browser can't do that" when instead you can just do a general, easy test for it and use it if it's there?

    The correct way to cope with the capabilities of different browsers is by using feature detection to weed out the ones that don't support things fully, and giving the more advanced stuff to the ones that do - entirely on the client side.

    Browser sniffing based on user agent strings really needs to die the death it should have died many years ago. I suggest you buy a copy of Designing With Web Standards [zeldman.com] and get reading about the right way to do things.

  • More of the same (Score:2, Insightful)

    by The Bubble ( 827153 ) on Thursday March 17, 2005 @09:30PM (#11971524) Homepage

    This is exactly what we've seen time and time again.

    1. a standard exists
    2. good products support the standard
    3. Microsoft creates their own proprietary "standard" and uses it instead
    4. because IE has the largest marketshare, websites are designed to render properly on IE
    5. customers try a standards-compliant product, only to find that their sites don't render 'properly'

    This is deliberate anticompetetive behavior, plain and simple.

Always try to do things in chronological order; it's less confusing that way.

Working...