Original URL: http://www.theregister.co.uk/2003/02/06/msn_deliberately_breaks_operas_browser/

MSN deliberately breaks Opera's browser, claims company

Dud style sheet fingered

By John Lettice

Posted in Media, 6th February 2003 14:52 GMT

Opera Software has accused Microsoft of deliberately engineering the MSN home page in order to make it look as if the Opera browser has a serious flaw in it. And the Norwegian company has published the results of an investigation which it says proves this.

Although Opera is convinced it has been deliberately targeted, it seems at least possible that the problem could be put down to some strangely coincidental finger trouble. But if that's the case, Opera has explained how simple it would be to fix it, and one therefore presumes Microsoft will give the matter its immediate attention.

Opera's techies downloaded the page using wget, in three different formats, identifying as Opera 7, MSIE and Netscape 7.01. The files sent to each browser are different, which is not necessarily suspicious, and the one sent to Opera7 has less content and is bigger than the one sent to IE. But that is not necessarily suspicious either.

Where it does get suspicious is when you look at the style sheets MSN sends to the browsers. The culprit, says Opera, is a 30 pixel value set on the margin property in the Opera style sheet. This instructs Opera to move list elements 30 pixels to the left of the parent, which means content moves off the side of its container, which means it looks like Opera is broken.

Opera tried to test whether or not this was deliberate by changing identification to the non-existent browser Oprah. This returns the IE style sheet, which works perfectly well in Opera. In Opera's view MSN is therefore looking specifically for "Opera" in the User-Agent string and sending it a broken style sheet. That, of course, could still be a mistake, as it's perfectly logical to send IE as the default if the browser can't be identified. But as there was no need for MSN to design an Opera-specific style sheet in the first place, one wonders... ®

* The Reg, incidentally, is regularly baffled by being unable to find stuff on Microsoft TechNet using Opera, because yet again we've forgotten that for some bizarre reason, lots of results from there in IE can equal no results at all in Opera. We've no idea whether this is a plot or not, either. Or indeed whether somebody might have fixed it by now.