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.
You can see how webpages react to various browsers at www.wannabrowser.com
I'm not going to bother posting the results here but it's easy enough to see for yourself what the differences are.
Ben
Work Safe Porn
MSDN has a similar behavior. I don't give a shit about MSN, but I needed to download the DirectX 8.1 SDK (to use OGRE) the other, and it was hell. I fact, I needed to identify as Mozilla 5 to see more than a few unrelated links on this page (try it if you have Opera. Change your identifier and reload the page)
Karma: Could be worse (could be raining)
Actually I spoke too soon and am going to take back what I said. I loaded up the page in Opera 6.0 and the margin -30 is supposed to fix a bug in Opera 6.0's rendering of lists. In fact, it's the very same problem I ran into while designing some webpages a few weeks ago that annoyed me to no end. Basically, Opera 6.0 indents list items by about 30 pixels to the right, unlike other browsers. Thus that -30 value is there to correct that problem. Opera 7.0 doesn't exhibit that tabbing effect (thus consistant with the latest IE and Mozilla browsers). Apparently MSN is serving Opera 7.0 the same CSS sheet as Opera 6.0 even though 7.0 works best when it's served the same style sheet as IE. Thus, saying that this problem is browser sabotage is too strong of an accusation.
Here's a tip for including CSS without having to worry about NS4 and (I think) IE4 screwing it up:
Use the CSS2 @import rule to import your style sheet.
The version 4 browsers will ignore this tag, therefore you don't have to worry about crashing NS4 with your perfectly valid CSS.
Example:
This is not correct.
Opera6 shows the page that MSIE6 receives just fine. I even included a screenshot of it on my page -- scroll down to the second image.
If you still believe this is Opera6's fault, please provide a test case showing how it fails.