Opera (web browser): Difference between revisions

Content deleted Content added
No edit summary
Jking (talk | contribs)
mNo edit summary
Line 32:
*[http://www.alistapart.com/articles/msn/ A List Apart story] (web standards discussion website)
 
In [[February 2003]], [[Opera Software]] employees discovered that the MSN home page sent a different style sheet to Opera users than it sent to [[Internet Explorer]]. The style sheet sent to Opera users, a generic 'site.css', contained the commandstyle rule <code>ul {margin: -2px 0px 0px -30px;}</code>, which created a 30-pixel negative left margin, causing content to appear overlapping other content. The Internet Explorer style sheet did not contain this commandrule.
 
This gave the impression something was wrong with Opera. The Netscape 6 style sheet also specified the same -30px margin, to work around known bugs in that browser (bugs not present in Opera). This same code was present into the supposedly generic style sheet, which was served to Opera by a Javascript checking routine which specifically detected Opera. This was either a deliberate decision by a programmer to make Opera look bad, or was simply the action of someone who was aware of Opera's existence, but unaware of its CSS capabilities (which are in fact better than those of Internet Explorer), and hence chose to send the browser a generic (albeit badly coded) style sheet.