Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
hi,
using the new ie fixes in html.tpl, Explorer insists on reading the doctype as ie7.
this forces me to make the site ie7 compatible, and even if the user has ie9, he can't enjoy things like rounded corner etc.
even adding this line doesn't help -
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
strangely, the only thing that seems to help is removing all the
<!--[if IE...
from the code.
any thoughts?
Comments
Comment #1
sheena_d CreditAttribution: sheena_d commentedI have tested in IE9 using a clean copy of 7.x-2.x-dev and 7.x-2.0-beta1 Fusion Starter theme as my default theme and am not experiencing this issue. Unless you have made some customizations to your sub-theme causing this issue, I would guess that you have your browser set in compatibility mode.
In a default IE9 setup, you can see that the document mode is set to IE9, the browser is using IE9 rendering standards and the ie-specific class on the HTML tag is "ie9"
screenshot: http://skitch.com/sheenad/gaggd/fusion-core-ie9-default
If I set IE9 to use Compatibility View, the browser begins using IE7 rendering standards and the ie-specific class on the HTML tag is "ie7"
screenshot: http://skitch.com/sheenad/gagfm/fusion-core-ie-compatibility
Your browser may have settings saved that are causing all sites or only the site you are viewing to be rendered in compatibility view. You can check your settings at Tools -> Compatibility View Settings
screenshot: https://skitch.com/sheenad/gagjg/ie9-compatibility-settings
If these settings turn out to not be the issue, please feel free to re-open this issue and include any additional details about your set-up that you can - especially if you have made any customizations to html.tpl.php in your sub theme. A link to your site would also be very helpful.
Cheers,
Sheena
Comment #2
IdanC CreditAttribution: IdanC commentedyou are right.
viewing the website at my workplace, with it's funky internal dns settings, got the IE to think that it was an internal websites, and as it turns out - IE as a default views intranet in compatible mode.
thanks again for the comprehensive explenation.
Comment #2.0
IdanC CreditAttribution: IdanC commentedcode fixing...