Internet Explorer 8 does not load CSS

Asked

Viewed 344 times

2

I am working in a virtual store changing its layout, but the CSS that I have changed is the skin/frontend/meutema/default/css/style.css. So far so good, Chrome loads my normal changes, Firefox too, and IE9 or higher as well.

However IE8 down, it does not load CSS, everything loses style except the menu. I tried to change the file, style-ie but nothing helps.

  • The file should be loaded for sure however many css styles are only "available" for IE from certain versions of the browser. In cases where styles are not applied, it is necessary to force their assignment and to do so the * before the styles, the !important after the styles, the -ms before styles, etc. It all depends on the styles you want to apply. You cannot display the code of your css file?

  • So I use methods like ! To force the use of a certain style but from the ie8, it does not lose only the styles, list of products in the home break down getting under each other, as if it did not carry any css. The code would be my style sheet I’m using ?

  • yes, the code would be the style sheet you are using. The !importantonly works in some cases, as well as the * and other options

  • Excuse the ignorance, but where you added this code?

1 answer

1

Thank you very much to those who helped, but I discovered the problem:

1º - is that as Templete is reponsive IE was not reading the medias query searched and put this code

[if lt IE 9]
    <script src="http://css3-mediaqueries-js.googlecode.com/svn/trunk/css3-mediaqueries.js" />
[endif]

2º - is that there was an IF in comment that only looked for the CSS Styles.css if it was IE9 or higher, so I changed to load in any IE ai worked, now just make some changes to the CSS only.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.