Mobile app version of vmapp.org
Login or Join
YK1175434

: Why is Internet Explorer seemingly work different then other browsers? For the past two weeks I have been painfully revising and changing my webpage to run in IE. I was happy to see my page

@YK1175434

Posted in: #Browsers #CrossBrowser #InternetExplorer

For the past two weeks I have been painfully revising and changing my webpage to run in IE.

I was happy to see my page working properly on Safari 4 & 5, Chrome 10-13, and FF 3.6-4.0

BUT

I opened my webpage in IE 8.0 and everything went wrong.

I guess I just have two questions:


What are w3schools.com's browser
statistics accurate to?
Why does IE interpret scripting languages different than Safari,
Chrome, and FF?

10.05% popularity Vote Up Vote Down


Login to follow query

More posts by @YK1175434

2 Comments

Sorted by latest first Latest Oldest Best

 

@Cofer257

As others have said, W3schools browser stats are among the most inaccurate for the web at large. Here is a nice roundup of reputable sources - but also note the first paragraph - the only accurate measure of browser usage is your own website stats.

As for Javascript, most of the browsers are almost identical for their support of basic Javascript. You could consider using a framework such as jQuery which mitigates the majority of cross-browser problems.

And always use a strict doctype: <!DOCTYPE html> is all you need to force all browsers to render pages the same.

10% popularity Vote Up Vote Down


 

@Michele947

re your first question: Nobody's stats are accurate, least of all W3Schools'.

The only people who really have accurate browser market share stats are likely to be Google, because everybody uses their services, and also their Analytics tracking code is on so many sites. But they don't publish their stats.

Everyone else is only going to be seeing a small portion of the global traffic, and their stats will be biased in favour of the browsers used by the people who visit the sites they monitor. Therefore, W3Schools' stats will be biased in favour of people who visit W3Schools.com. Since this is likely to be mainly web developers (albeit inexperienced ones), their stats will be biased in favour of the browsers that developers prefer. I don't know if they're getting stats from anywhere else as well, but wherever it's from, there will be a bias of one sort or another, and therefore the stats will be innaccurate.

The best source that I know of for global web stats is StatsCounter, which does seem to be fairly well respected as a source. But even then you should take the results with a pinch of salt.

Franlkly, the only stats that really matter are your own stats. What browsers do the visitors to your site use? That's the browser share you should be targetting.

Re your second question (about scripting languages): This question is a bit too vague to answer. IE's imlpementation of Javascript is virtually identical to that of the other browsers. Yes there are some bugs, but they're pretty minor. The big differences are in the DOM and feature support; this is where you may run into compatibility trouble. But you'll need to actually tell us what your problem rather than just having a general moan with a question mark at the end and expecting an answer.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme