Page 1 of 1

[Solved] Problem with CSS and IE7 or older

Posted: Mon May 24, 2010 10:04 am
by Bocius
I'm using CMS made simple 1.6 MLE
My web site is more or less ok with IE8, Opera, Firefox etc. but with IE7 or IE6 I have no CSS loaded (I guess).

The template is ok (as I can see contents of the site as well as favorite icon that is inside the template) but I have no images of the CSS, styling loaded. Even the content images are not loaded.

Same problem with different standard templates

The same is with version 1.6.6 MLE

The problem is server independent.

Please advice.

Solved in post no7

Re: Problem with CSS and IE7 or older

Posted: Mon May 24, 2010 10:16 am
by Rolf
Okay, lets try it again   ;D

Add this in: Site Admin >> Global Settings >> Global Metadata

Code: Select all

<meta http-equiv="X-UA-Compatible" content="IE=8" />
Grtz. Rolf

Re: Problem with CSS and IE7 or older

Posted: Mon May 24, 2010 10:33 am
by Bocius
Thank You for quick response:

Still not working with older versions of IE

I have global metadata:

Code: Select all

<meta http-equiv="Content-Type" content="text/html; charset=utf-8 />
so I have tried:

Code: Select all

<meta http-equiv="Content-Type" content="text/html; charset=utf-8 />
<meta http-equiv="X-UA-Compatible" content="IE=8" />
and

Code: Select all

<meta http-equiv="Content-Type" content="text/html; charset=utf-8; "X-UA-Compatible" content="IE=8" />
and

Code: Select all

<meta http-equiv="X-UA-Compatible" content="IE=8"; charset=utf-8 />
More ideas?

Re: Problem with CSS and IE7 or older

Posted: Mon May 24, 2010 10:45 am
by Rolf
Got a link for us?

®

Re: Problem with CSS and IE7 or older

Posted: Mon May 24, 2010 10:49 am
by Rolf
Bocius wrote: More ideas?
You do have the {metadata} tag in the head of your template??

Rolf

Re: Problem with CSS and IE7 or older

Posted: Mon May 24, 2010 10:59 am
by Bocius
Rolf wrote:
Bocius wrote: More ideas?
You do have the {metadata} tag in the head of your template??

Rolf
Yep

Code: Select all

 {metadata}
{* Don't remove this! Metadata is entered in Site Admin/Global settings. *}

Re: Problem with CSS and IE7 or older

Posted: Mon May 24, 2010 12:44 pm
by Bocius
I have tried with several standard templates and no luck. The problem comes not from template or css. It is something global.

Once I've seen similar problem discussed and the solution was to remove "/" from the link to stile-sheet.

Where can I find it? Or any other ideas?

PS.: I have noticed that links also does not work in this site under the older versions of IE

for example : http:///index.php?page=home&hl=eng

there is no site address in it. It might be the problem that browser cannot find the address to receive CSS

Re: Problem with CSS and IE7 or older

Posted: Mon May 24, 2010 1:04 pm
by Bocius
Finally solved

My mistake at the configuration step of CMS

the problem was config.php

Code: Select all

$config['root_url'] = '';
I have just entered the right url and everything worked fine

Re: Problem with CSS and IE7 or older

Posted: Mon May 24, 2010 1:05 pm
by Rolf
Hi Bocius

You have in your template:

Code: Select all

<base href="/" />
This should be:

Code: Select all

<base href="http://xxx.xxx.xxx.xxx" />
Check your settings in the config.php:

Code: Select all

$config['root_url'] = 'http://xxx.xxx.xxx.xxx';
Rolf  :)


//removed IP-address