It's not very urgent, but thank you, I appreciate that.
Printable View
Hi,
Put the following metetag as the first one behind the head-tag then IE9 will look like IE8 and show the site like it was ment.
<head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8" >
Kind regards,
Jan
Using a meta tag for IE will not help in this case because the page looks poorly in IE 8 as well. There are at least two problems with the page, probably more. It doesn't have a valid DOCTYPE. It does, but not as the first thing. The first thing on the page is an opening <html> tag:
As you can see it has two of those, that's invalid. So validating the page would be a good idea:Code:
<html>
<head>
</head>
<body>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-35881828-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script><!DOCTYPE html>
<html class="no-js">
<head>
<meta charset="UTF-8">
<meta name="keywords" content="maszyny . . .
http://validator.w3.org/
The other problem I see with IE is the use of text-align: center for the body in the ie.css stylesheet. This can actually cause more problems than it fixes. Use margin: 0 auto; to center individual elements that have width, and text-align center only for individual elements containing text that you want centered. The margin: 0 auto; won't work in IE however, until you have a valid DOCTYPE as the very first thing in the page's source code.