Why does Internet Explorer (9) report “Mozilla” in UserAgent?

this should do it: http://en.wikipedia.org/wiki/Mozilla When users visit a website (via a user agent such as a web browser), a text string is generally sent to identify the user agent to the web server. It is known as the “user agent string”. The Netscape web browser identified itself as “Mozilla/” followed by some information about … Read more

Difference between “Browser Mode” and “Document Mode” in Internet Explorer

Document Mode is what the browser uses to render the page: IE9, IE8, IE7 or Quirks. Browser Mode sets how the browser identifies itself to the web server and to JavaScript. From a testing standpoint, it seems unnecessarily confusing that these are two separate options and you usually want to change both, for example, set … Read more

How do I force Internet Explorer to render in Standards Mode and NOT in Quirks?

This is the way to be absolutely certain : <!doctype html> <!– html5 –> <html lang=”en”> <!– lang=”xx” is allowed, but NO xmlns=”http://www.w3.org/1999/xhtml”, lang:xml=””, and so on –> <head> <meta http-equiv=”x-ua-compatible” content=”IE=Edge”/> <!– as the **very** first line just after head–> .. </head> Reason : Whenever IE meets anything that conflicts, it turns back to … Read more

Inline block doesn’t work in internet explorer 7, 6

In IE6/IE7, display: inline-block only works on elements that are naturally inline (such as spans). To make it work on other elements such as divs, you need this: #yourElement { display: inline-block; *display: inline; zoom: 1; } *display: inline uses a “safe” CSS hack to apply to only IE7 and lower. For IE6/7, zoom: 1 … Read more

IE11 Document mode defaults to IE7. How to reset?

By default, IE displays webpages in the Intranet zone in compatibility view. To change this: Press Alt to display the IE menu. Choose Tools | Compatibility View settings Remove the checkmark next to Display intranet sites in Compatibility View. Choose Close. At this point, IE should rely on the webpage itself (or any relevant group … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)