Am 15.11.2012 16:14 schrieb Elli Vizcaino:


----- Original Message -----

From: HMW Sales <[email protected]>
To: [email protected]
Cc:
Sent: Thursday, November 15, 2012 9:56 AM
Subject: Re: [css-d] Background Image Not Showing in IE7/IE8

On 11/15/2012 9:43 AM, Markus Ernst wrote:
  Am 15.11.2012 15:27 schrieb Elli Vizcaino:
  Here is my conditional comment in case you were wondering:

  <!--[if lt IE 9]>
  <link rel="stylesheet" type="text/css"
href="<?php bloginfo('template_directory');
?>/css/ie.css" />
  <![endif]-->

  At the page that you link to, I see this:
  <!--[if lt IE 9]>
      <link rel="stylesheet" type="text/css"
href="http://www.e7flux.com/wp-content/themes/e7flux?1352988876"; />
  <![endif]-->


  Are sure you have actually posted the link to the page you have the problem
with?


Try using absolute path for the background image

Tried that too and did it again just now. Maybe I'm having a cache problem? Ok 
tried something else. I deleted the ie.css file from server and in my header 
file within the conditional comments I am calling a stylesheet named 
iestyles.css which actually doesn't exist on the server and nothing has 
changed. Do you think it's a cache problem or maybe it's my conditional comment?

It looks like IE is not finding or not interpreting the stylesheet at all. To control this, you can do some very obvious change in the IE stylesheet, such as body {background:yellow} - then you see very well if the browser gets the stylesheet or not.

I am not quite familiar with the impacts of the media attribute. But I noticed that in the link element for your main stylesheet you have media="projection, screen". Maybe you try to add that in the link for the ie stylesheet, too, or remove it at all.

(Anyway, the stylesheet you provided a link to does not seem to exist:
http://www.e7flux.com/wp-content/themes/e7flux/css/ie.css)

HTH
Markus
______________________________________________________________________
css-discuss [[email protected]]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to