Compatibility view problem

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
Ball-Ron
New Member
New Member
Posts: 2
Joined: Sat Oct 23, 2010 6:07 pm

Compatibility view problem

Post by Ball-Ron »

Hi all,
I have a problem that I have failed to fix for some time now. I am very new to all this and it is probably a simple bug.
I am using  CMS 1.8.2  template ShadowmenuTab+2cols on all pages. URL: lumimax.se
The homepage looks fine in;
Google Chrome
Firefox
I-Explorer 8.0 ( compatibility view turned off)

When Compatibility View is turned on (default mode)  some stuff on the page are in disorder.  
I have tried to put compatibility statements ( such as” IE=EmulateIE7”) in the meta-tags but it hasn’t helped. Without that as an option I have to find the source of the compatibilty problem in the code !! Havnt got a clue !”

My original 1.8.2 tar-file are no longer avalible so I  installed an entirely new 1.9. on a testbench that I set up.
Basic installation. Changed template to ShadowmenuTab+2cols on all pages. Clicked around using FF, Chrome and IE8. FF and  chrome OK.
IE8 (compatibility view=on) ( clicking on "default extensions"),the upper-left container lose its margin to Sidebar.
IE8 (compatibility view=off) (clicking on "default extensions") margin between main container and Sidebar remains OK
There is a compatibility problem in the sourcecode of template “shadowmenuTab+2”
URL: ledgents.com  (toggle comp view on off and check margins for containers.)

Anyone having ideas ?
/thomas
Last edited by Ball-Ron on Sun Nov 21, 2010 7:42 am, edited 1 time in total.
spcherub
Power Poster
Power Poster
Posts: 402
Joined: Fri Jun 06, 2008 5:54 pm

Re: Compatibility view problem

Post by spcherub »

@Ball-Ron: I admit I have not taken a closer look at the theme you refer to in your post, but one of the things you can try is to force IE into Quirks mode (or out - can never figure which!), by adding a DOCTYPE tag to the top of your HTML. I find that it helps IE deal with CSS in a more standard way. You can do this by adding a reference like the example below to the very top of your template (all of them) above the tag:

Code: Select all

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
Of course if you are not using STRICT in your HTML , you can use whatever is appropriate (TRANSITIONAL for instance), but just having any DOCTYPE seems to coax IE in behaving more "normally".

Hope this helps.
S
Post Reply

Return to “CMSMS Core”