arsava / dokuwiki-template-vector

"vector" brings you the MediaWiki/Wikipedia 2010 look and feel for DokuWiki.
http://www.dokuwiki.org/template:vector
GNU General Public License v2.0
40 stars 10 forks source link

Change doctype to remove compatibility problems #17

Open zioth opened 11 years ago

zioth commented 11 years ago

Some of my pages (especially those using the DISQUS plugin) switch to compatibility mode in IE8 some of the time. I just editted main.php and changed the doctype to: <!DOCTYPE html>

The page still rendered correctly, and this seemed to fix the compatibility problems. This will also help with plugins designed for HTML5, and remove some cross-browser-compatibility issues.

zioth commented 11 years ago

I just had a page send me to compatibility view, so this didn't fix that part of it. It's still probably a good idea to make the change for HTML5 plugins and browser compatibility.

andreashaerter commented 10 years ago

Migrating the template to HTML 5 will happen some day. However, the doctype makes many problems with some older browsers and the original vector CSS. So I'll try the switch when Windows XP ist End-Of-Life (-> April 2014) after modernizing the template a bit. I think dropping IE 6-8 support is OK then (and if it is a must, one can still use an older version of the template).

zioth commented 10 years ago

In my experience, IE8 deals with quite well. I haven't tested IE7 or IE6. You might want to keep testing IE 8, because it will still be more common than IE 6, 7 or 9 in April 2014. Lots of large businesses force employees to stick with an older browser, because it's so expensive (in IT and support calls) to upgrade. There are still businesses using XP/IE6.