[Solved] Problem with CSS and IE7 or older

This is a FORK of the CMS Made Simple project and is not oficially supported in any way by the CMS Made Simple development team.
Locked
Bocius
Forum Members
Forum Members
Posts: 12
Joined: Thu Dec 10, 2009 3:24 pm

[Solved] Problem with CSS and IE7 or older

Post 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
Last edited by Bocius on Mon May 24, 2010 1:05 pm, edited 1 time in total.
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Problem with CSS and IE7 or older

Post 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
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Bocius
Forum Members
Forum Members
Posts: 12
Joined: Thu Dec 10, 2009 3:24 pm

Re: Problem with CSS and IE7 or older

Post 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?
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Problem with CSS and IE7 or older

Post by Rolf »

Got a link for us?

®
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Problem with CSS and IE7 or older

Post by Rolf »

Bocius wrote: More ideas?
You do have the {metadata} tag in the head of your template??

Rolf
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Bocius
Forum Members
Forum Members
Posts: 12
Joined: Thu Dec 10, 2009 3:24 pm

Re: Problem with CSS and IE7 or older

Post 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. *}
Bocius
Forum Members
Forum Members
Posts: 12
Joined: Thu Dec 10, 2009 3:24 pm

Re: Problem with CSS and IE7 or older

Post 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
Last edited by Bocius on Mon May 24, 2010 12:59 pm, edited 1 time in total.
Bocius
Forum Members
Forum Members
Posts: 12
Joined: Thu Dec 10, 2009 3:24 pm

Re: Problem with CSS and IE7 or older

Post 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
User avatar
Rolf
Power Poster
Power Poster
Posts: 7825
Joined: Wed Apr 23, 2008 7:53 am
Location: The Netherlands
Contact:

Re: Problem with CSS and IE7 or older

Post 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
Last edited by Rolf on Mon May 24, 2010 1:13 pm, edited 1 time in total.
- + - + - + - + - + - + -
LATEST TUTORIAL AT CMS CAN BE SIMPLE:
Migrating Company Directory module to LISE
- + - + - + - + - + - + -
Image
Locked

Return to “[locked] CMSMS MLE fork”