Mobile app version of vmapp.org
Login or Join
Sims2060225

: Why can't Internet Explorer render this page correctly? I've been pulling my hair out but can't figure out why my page looks like a huge mess in IE9, but Firefox, Chrome, Opera, Safari works

@Sims2060225

Posted in: #Css #Html #InternetExplorer

I've been pulling my hair out but can't figure out why my page looks like a huge mess in IE9, but Firefox, Chrome, Opera, Safari works great.

My website is here: 173.244.195.179/test-o.html
Could anyone tell me what I'm doing that isn't compatible with IE9?

10.02% popularity Vote Up Vote Down


Login to follow query

More posts by @Sims2060225

2 Comments

Sorted by latest first Latest Oldest Best

 

@Murray432

Looking at your source code, you have a couple of serious issues:

<script language=javascript type='text/javascript'>
...
</script>
<!DOCTYPE html>
<html>
<head>


You have a script tag at the very top of your page. They should go inside the head tags. Which leads me to the next issue:

<!DOCTYPE html>
<html>
<head>
...
</head>
<body><head>
...
</head>
<body>


You have two <head> tags, and two opening <body> tags. This should be replaced with:

<!DOCTYPE html>
<html>
<head>
...
</head>
<body>
...
</body>
</html>

10% popularity Vote Up Vote Down


 

@Tiffany637

You need a Doctype. Just put

<!DOCTYPE html>


At the top in your HTML code.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme