CSS does not work in Internet Explorer

I'm having a problem with the CSS in IE, on this page:

http://www.carby.cz/index1.php

It works in every browser except IE. I am helpless; I've tried everything I found on the forums and none of the styles in the page are showing up in IE.

Any ideas?

Answers


Your website mostly works in IE9 if you remove this:

<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7"/>

That's telling IE to display the page in IE7 mode. Guess what? IE7 sucks.

For example, this won't work in IE7:

.bg1 {
    background-color: rgba(255,255,255,0.8);
}

You could use a semi-transparent .png as a fallback, which would work in IE7. Or, you could use background-color: #fff; background-color: rgba(255,255,255,0.8);, which will only use rgba() in browsers that support it.


Internet Explorer 8 and below don't support much CSS3.

You can add support for certain things if you integrate CSS3 PIE.


Need Your Help

PHP - Foreach loops and ressources

php for-loop resources foreach

I'm using a foreach loop to process a large set of items, unfortunately it's using alot of memory. (probably because It's doing a copy of the array).