Topic-icon Template Cut Off in IE8

More
6 years 2 months ago #16449 by TheSterlingOne
I'm trying to figure out why my template is getting cut off on IE8. See attached photo or visit jcrispendo.com/index.php?option=com_cont...cle&id=71&Itemid=221 to see the issue in IE8.



Help!
Attachments:

Please Log in or Create an account to join the conversation.

More
6 years 2 months ago #16459 by ivan.milic
Replied by ivan.milic on topic Template Cut Off in IE8
add this just after <head> in index.php of template:
<!--[if IE8]> 
<meta http-equiv="X-UA-Compatible" content="IE=7">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
<![endif]-->

Please Log in or Create an account to join the conversation.

More
6 years 2 months ago - 6 years 2 months ago #16462 by TheSterlingOne
ok, I got it, however....

the menu seems to go haywire due to this fix.. see pic
Attachments:
Last edit: 6 years 2 months ago by TheSterlingOne. Reason: found file...

Please Log in or Create an account to join the conversation.

More
6 years 2 months ago #16482 by ivan.milic
Replied by ivan.milic on topic Template Cut Off in IE8
It renders:
[if IE8] 
<meta http-equiv="X-UA-Compatible" content="IE=7">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
[endif]

comment marks are missing? I should be:
<!--[if IE8]> 
<meta http-equiv="X-UA-Compatible" content="IE=7">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
<![endif]-->

Please Log in or Create an account to join the conversation.

More
6 years 2 months ago #16490 by TheSterlingOne
ok. here's how the code looks now...

<title>Dr. John P. Crisp, DDS, MS Wilmington North Carolina's only Laser Endodontist</title>

<html xmlns=" www.w3.org/1999/xhtml " xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>" >
<head>

<!--[if IE8]>
<meta http-equiv="X-UA-Compatible" content="IE=7">
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>
<![endif]-->

<jdoc:include type="head" />

<?php // module states
$showuser1 = $this->countModules('user1');
$showuser2 = $this->countModules('user2');
$showuser3 = $this->countModules('user3');
..."

This does not fix the problem...

jcrispendo.com/index.php?option=com_cont...cle&id=71&Itemid=221

Please Log in or Create an account to join the conversation.

More
6 years 2 months ago #16504 by ivan.milic
Replied by ivan.milic on topic Template Cut Off in IE8
Hi,

as I see you want to hide that menu on all interior pages ? Why you just don't set in module assignment for that menu to show only on home page?

Please Log in or Create an account to join the conversation.

Time to create page: 0.136 seconds