Your html.tpl.php temp[late is missing the <html> tag. When doing so , pleae also add the appropriate classes and other attributes that we may expect to find in the html tag. Think of "dir", "lang" and the rdf namespaces. Examples:
system module (xhtml):
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<?php print $language->language; ?>" version="XHTML+RDFa 1.0" dir="<?php print $language->dir; ?>"<?php print $rdf_namespaces; ?>>
or even better, as it is html5:
Arctica:
<html lang="<?php print $language->language; ?>" dir="<?php print $language->dir; ?>"<?php print $rdf_namespaces; ?>>
Note 1: there is a lot of functionality and default styling from modules depending on the dir attribute, that is how I discovered the tag is missing.
Note 2: #1665778: Internet Explorer problems could be related to this error.
Comment | File | Size | Author |
---|---|---|---|
#1 | add-html-tag-1732772-1.patch | 376 bytes | Danny Englander |
Comments
Comment #1
Danny EnglanderI like the one from Arctica, seems sensible and have created a patch to include that code.
Comment #2
fietserwinCorrect, this theme is also based on html5, thus that is the one to go for.
Comment #3
devsaran CreditAttribution: devsaran commentedThanks to fietserwin and highrockmedia .. I will commit this patch to all my themes
Comment #4
Homotechsual CreditAttribution: Homotechsual commentedHas this been committed yet? If so you can probably close this issue.
Comment #6
Gauravvvv CreditAttribution: Gauravvvv at OpenSense Labs for Drupal India Association commentedcommitted b2503d9 on 7.x-1.x
Thankyou for working on this issue.