-
AuthorPosts
-
January 29, 2012 at 6:37 pm #173325
I am using JAT3 blank template with joomla 1.7.3 and my website currently is rendering in Quirks mode. Where can I change this to have it render as Standards Compliance Mode? Thanks.
January 30, 2012 at 4:39 pm #436194I did find the following in the default.php file. It does not appear to be setting the doctype however since I am still defaulting in to Quirks mode.
// No direct access
defined(‘_JEXEC’) or die;
?>
<?php if ($this->isIE() && ($this->isRTL())) { ?>
<!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01//EN” “http://www.w3.org/TR/html4/strict.dtd”>
<?php } else { ?>
<!DOCTYPE html PUBLIC “-//W3C//DTD XHTML 1.0 Transitional//EN” “http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd”>
<?php } ?><html xmlns=”http://www.w3.org/1999/xhtml” xml:lang=”<?php echo $this->language; ?>” lang=”<?php echo $this->language; ?>”>
January 31, 2012 at 2:18 pm #436342Anyone have an idea on this? Defaulting to quirks mode is effecting the rendering in Internet Explorer (messing it up). Thanks.
February 29, 2012 at 8:53 pm #440953<em>@ricosala 297962 wrote:</em><blockquote>Anyone have an idea on this? Defaulting to quirks mode is effecting the rendering in Internet Explorer (messing it up). Thanks.</blockquote>
Found a fix to this problem. Under template manager> templates >. there is a location to edit the main page template. I inserted the doctype commands in this area. All fixed.
March 8, 2012 at 5:44 pm #442636hey thanks.. btw, what’s quirks mode actually ? what do we use it for ??
March 8, 2012 at 8:34 pm #442678Quirks Mode or Standards Compliance modes are essentially a setting you determine for your site (via doctype) that establishes the rendering of your site on the users desktop. The complexity is driven by the various browsers which work diferently, firefox, chrome, safari and….the dreaded internet explorer (this one is a pain in and of itself). That is the extent I can help as I”m not the resident expert. here are a couple of links to review and learn
http://en.wikipedia.org/wiki/Document_Type_Declaration
http://en.wikipedia.org/wiki/Quirks_mode -
AuthorPosts
This topic contains 6 replies, has 2 voices, and was last updated by ricosala 12 years, 8 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum