john.mcdowell Posted April 2, 2012 Share Posted April 2, 2012 Hello, I am having PrestaShop Template 1.4.5 Internet explorer alignment issues link displays fine in firefox and google chrome, but displays as attached in internet explorer 9. Link to comment Share on other sites More sharing options...
CartExpert.net Posted April 2, 2012 Share Posted April 2, 2012 Hello, I am having PrestaShop Template 1.4.5 Internet explorer alignment issues link - http://www.purepetshop.com.au/shop/ displays fine in firefox and google chrome, but displays as attached in internet explorer 9. Hello, try to add this to your header: <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script> usually this solves IE9 issues. Link to comment Share on other sites More sharing options...
john.mcdowell Posted April 2, 2012 Author Share Posted April 2, 2012 Hello, try to add this to your header: <script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script> usually this solves IE9 issues. I have added this code to my theme/header.tpl but it has not seem to have fixed it. I have deleted internet files / ensured force complie is on and cache is off Link to comment Share on other sites More sharing options...
CartExpert.net Posted April 2, 2012 Share Posted April 2, 2012 I have added this code to my theme/header.tpl but it has not seem to have fixed it. I have deleted internet files / ensured force complie is on and cache is off Your doctype is not recognised in IE9. You need to change this line in header.tpl <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> to <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 //EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> Link to comment Share on other sites More sharing options...
john.mcdowell Posted April 2, 2012 Author Share Posted April 2, 2012 Your doctype is not recognised in IE9. You need to change this line in header.tpl <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> to <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1 //EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> Thankyou for your help so far, however I have now made this change but not seem to have resolved the issue.. Link to comment Share on other sites More sharing options...
CartExpert.net Posted April 2, 2012 Share Posted April 2, 2012 (edited) Have you recompiled the template files? In IE9 go to: http://www.cartexpert.net right click anywhere on page and select 'View source' . You will see the doctype. Do this with your site, and you will not see the doctype. And for now remove the script from Google. Edited April 2, 2012 by CartExpert.net (see edit history) Link to comment Share on other sites More sharing options...
john.mcdowell Posted April 2, 2012 Author Share Posted April 2, 2012 Have you recompiled the template files? In IE9 go to: http://www.cartexpert.net right click anywhere on page and select 'View source' . You will see the doctype. Do this with your site, and you will not see the doctype. And for now remove the script from Google. No I didn't recompile the template files, I had a look at your site in Internet Explorer and can see the clean layout and mine seems like a jumbled up mess ? Is there something that would have caused this ? I have taken a scren cap of my header.tpl (attached) Link to comment Share on other sites More sharing options...
CartExpert.net Posted April 2, 2012 Share Posted April 2, 2012 (edited) We can not re-create the issue you have using your header.tpl . It must be something else causing the problem. Edited April 2, 2012 by CartExpert.net (see edit history) Link to comment Share on other sites More sharing options...
CartExpert.net Posted April 2, 2012 Share Posted April 2, 2012 The problem could be that your theme's folder name has a space in it. This validator is not finding any of your css files. http://jigsaw.w3.org/css-validator/validator?uri=http%3A%2F%2Fwww.purepetshop.com.au%2Fshop%2F&profile=css21&usermedium=all&warning=2&vextwarning=&lang=en Link to comment Share on other sites More sharing options...
john.mcdowell Posted April 2, 2012 Author Share Posted April 2, 2012 The problem could be that your theme's folder name has a space in it. This validator is not finding any of your css files. http://jigsaw.w3.org...arning=&lang=en I have renamed my theme to "purepetshop" but appears to still be happening. Link to comment Share on other sites More sharing options...
john.mcdowell Posted April 3, 2012 Author Share Posted April 3, 2012 I have installed a local copy of prestashop, and added in my theme which works fine, it appears to be something else causing the problem. Link to comment Share on other sites More sharing options...
CartExpert.net Posted April 3, 2012 Share Posted April 3, 2012 The validator can load your css files now. The doctype is still not visible for some reason. As a test, try adding .container_9 { margin: 0 auto; width: 980px; } to your global.css Link to comment Share on other sites More sharing options...
john.mcdowell Posted April 4, 2012 Author Share Posted April 4, 2012 added to to your global.css .container_9 { margin: 0 auto; width: 980px; } still no change.. Link to comment Share on other sites More sharing options...
CartExpert.net Posted April 5, 2012 Share Posted April 5, 2012 added to to your global.css .container_9 { margin: 0 auto; width: 980px; } still no change.. Hi, Doing some more research: your website is displayed in browsers in Quirks mode. This means the doctype is not compatible with the content, so you need to use a different doctype. Possible doctypes: HTML 4.01 Strict, Transitional, Frameset <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> XHTML 1.0 Strict, Transitional, Frameset <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd"> XHTML 1.1 DTD <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> Link to comment Share on other sites More sharing options...
john.mcdowell Posted April 9, 2012 Author Share Posted April 9, 2012 I have tried adding the different doctypes but still remains the same .. As a test I have loaded the standard template and it is still happening.. Is there something else that would be affecting it ? Link to comment Share on other sites More sharing options...
CartExpert.net Posted April 11, 2012 Share Posted April 11, 2012 Then it must be something else. We will do some more research on this. Link to comment Share on other sites More sharing options...
Carl Favre Posted April 11, 2012 Share Posted April 11, 2012 Hi John, Can you also checked in your BO preferences/performances if you have anything checked in CCC? 1 Link to comment Share on other sites More sharing options...
CartExpert.net Posted April 11, 2012 Share Posted April 11, 2012 Hi John, Can you also checked in your BO preferences/performances if you have anything checked in CCC? That is right. 'High risk HTML compression HTML is compressed but cancels the W3C validation (only when "Minify HTML" is enabled)' can cause this. John you should have 'Keep W3C validation' enabled. 2 Link to comment Share on other sites More sharing options...
john.mcdowell Posted April 12, 2012 Author Share Posted April 12, 2012 bingo! ... thankyou everyone for your support. Link to comment Share on other sites More sharing options...
delroyp Posted May 30, 2012 Share Posted May 30, 2012 can anyone tell me why my site is actting up in IE ......www.directpv.com.....PLEASE HELP Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now