Slashdot Mirror


Microsoft Sends Broken Stylesheets to Opera

An anonymous reader writes "The Register has a story that the MSN homepage serves a different style sheet to the Opera web browser that makes Opera appear to be broken. Is this deliberate or a mistake? Who can possibly say? Opera's own take on the situation can be found here." This is not the first time.

9 of 938 comments (clear)

  1. No fear of prosecurion, no problem! by Sun+Tzu · · Score: 5, Insightful
    It's back to the bad old days at Microsoft... Sounds a lot like how they killed DR-DOS, but on a smaller scale.

    Send us your Linux Sysadmin articles.

  2. Re:Sites del. diff. content to different browsers. by Blimey85 · · Score: 5, Insightful
    Write to the standards, not browsers.

    This is fine for a personal or hobby site but for e-commerce, you need to write to users, not standards. It makes no difference to the user that your page is coded to standards if he/she can't view it. Telling them they need a different browser isn't the answer either. Showing them what they want, in a manner that works correctly with their browser, is unfortunately the best solution if you want to be profitable.

    I've had to code drop down menus differently for different browsers to get things to look the same, however when I'm done, you get the exact same page, with everything the same size and in the same place in IE, Netscape, Mozilla, and Konqueror. I've never used Opera so I don't test that one, but I guess I probably should.

    --
    How is it that one careless match can start a forest fire, but it takes a whole box to start a campfire?
  3. Re:Standards schmandards. by rknop · · Score: 5, Insightful

    Anyone, including Microsoft, who writes a site that serves seperate pages to different browsers is doing a disservice to the public.

    While I agree with the philosophy, unfortunately it's unrealistic. Reason: so many browsers, worst among them Netscape 4, try to support CSS and fail so miserably that a standards-complaint CSS page is likely to be unreadable. And, unfortunately, some people still use NS4 and old versions of IE.

    What I've done some places is write some SSI that detects the browser. If it detects Netscape 4 or lower, or IE ... probably 4 or lower, I forget at the moment ... it sends a "dumbed down" style sheet that will present only a faint echo of the layout of the page, but which will leave the text readable. Any other browser, you get the normal "standards compliant" style sheet. Note that here I am sending specific style sheets for specific browsers-- but I assume that any version of Opera, and any version of Netscape or Mozilla 5 or greater and any recent IE and any other browser that may come is standards complaint.

    -Rob

  4. Re:We need browser masking. by rknop · · Score: 5, Insightful

    As an unfortunate side-effect, this would reinforce webmasters' belief that everybody in the world uses MSIE.

    Yep. What we really need is too late to accomplish. What we really need is a protocol that forbids you from identifying which browser you are, but only allows you to specify to which standards you conform.

    Then maybe webmasters would write their HTML and such the way they're supposed to, and what's more the browsers would have to really support the standards they claim to support.

    But, unfortunately, that's an ideal world, not the one we live in.

    -Rob

  5. the reason they are targeting opera by a7244270 · · Score: 5, Insightful

    MS lost out bigtime by failing to convince the cellphone manufacturers to adopt their embedded OS - most of the bignames plan to use Simian (is that how you spell it) which uses Opera as its browser.

    The reality is that most windows users will never change their browser from IE to something else, so they are not afraid of Mozilla, konq, Safari, etc.

    The cellphone market on the other hand is HUGE, and given recent advances in wireless bandwith, has the potential to be highly lucrative.

    More than likely its probably safe to say that a significant percentage of all web browsing in the future will be on cellphones.

    They are attempting to ensure that non MS cellphones can't surf the web properly, in an attempt to make consumers prefer buying MS enabled webphones, which in turn will generate more revenue in the embedded market for them, which they desperately need.

    Just my opinion tho - can never tell what does guys are up to...

  6. Make Opera appear broken?? by MongooseCN · · Score: 5, Insightful

    If I went to MS's site and the webpage they sent was broken, I would think MS had an incompetent webmaster who didn't know HTML. I wouldn't think Opera was broken.

  7. Re:What is the alternative? by DickBreath · · Score: 5, Insightful

    MS are free to serve up whatever they like on their servers.

    Are you sure?
    Without consequence as to what?

    Okay. I'll use your logic, and the same logic as some other posts here from Microsoft agents.

    I want to start serving stuff from my site that takes advantage of all known exploits in IE browsers. After all, it's my site. I can serve whatever I want. It's my business.

    If users don't like it, then they should use Mozilla or Opera.

    If you're a Microsoft user, why would you want to come to my site anyway?

    It's just an accident. Give me the benefit of the doubt.

    I'll probably get modded redundant since my above four arguments have already been made.

    --

    I'll see your senator, and I'll raise you two judges.
  8. Re:Quite the contrary by Isofarro · · Score: 5, Insightful
    I don't know where you got this myopic view of the Web from, but it is certainly trollish from a standards POV. Obviously the technique of augmentative authoring has eluded you.

    If you are creating multiple copies of resources for different user agent strings, then it is a prime indication you haven't understood the very simple concept of the World Wide Web.

    For various reasons ( including access to the reading disabled) every site should, at the very least, serve a different page to pure text browsers than it does to graphical browsers.


    Making a website accessible does not mean text-only. This is a myth, and a badly misinformed piece of strawman fluff. Text-versions of websites should only be a last resort, when you've reached the point where you admit your design and markup skills are inadequate to do even a competant job, let alone a good one. Accessible websites can also be well designed, there's no mutual exclusivity.

    The whole *point* of identifying browsers at all is to allow the server to serve optimized pages for different browsers.


    If you so strongly want to believe this nonsense, please post a reference to either a standard or recommendation that states that User-Agent is a mandatory HTTP parameter. You know as well as I do that User-Agent strings are optional, and relying on them to determine presentation is so typically short-sighted that its now laughable.

    You cannot succeed over the medium to long term adopting a browser-sniff route. It is folly.

  9. this is typical, the .NET framework does this, too by sirshannon · · Score: 5, Insightful

    My biggest complaint about the .NET framework:

    the .NET framework does a check to see which browser you use and then sends formats aspx pages for the capabilities of that browser. So if you use abs positioned divs, you'll get those for modern browsers but Netscape 4.7 (for instance) will get the same page (theoretically) but formatted via tables. This is great, if only MS were honest about it.

    I constantly have to hard-code formatting for controls because MS treats Netscape 6 as a 'down-level' browser and doesn't bother sending out certain formatting tags. So some pages look bad in Netscape 6, the reason behind it would be that the formatting tags weren't sent out because Netscape doesn't support them, but this is false because when I add them by hand, netscape handles them fine and my pages look the same in both browsers.

    I have to believe that MS does this so people say "this page looks like azz in Netscape" and assume that it's Netscape's problem.

    the framework has been out for too long and this is still not fixed, so I can not believe that it is an honest or innocent mistake.