0

Why does this site loads up in Quirks mode? I know i can use X-UA-Compatible but i prefer solving the underlining problem

bicycle
  • 8,315
  • 9
  • 52
  • 72

1 Answers1

2

Because that's how it's defined:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

If you want it to load in standards mode, use the HTML 5 doctype:

<!DOCTYPE html>

Edit:

Also, move the initial meta tag down. This is what I see when I look at your site:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<HTML>
<head>

<title>

20.000+ Cheap Wall Posters and Postcards

</title>

<META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

You have duplicate Content-Type meta tags. The top one is breaking you into quirks still. If you remove it altogether, that would be good, and make sure that your charset is accurate (either utf-8 or iso-8859-1). It should be:

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">

<HTML>
<head>

<title>

20.000+ Cheap Wall Posters and Postcards

</title>

<META http-equiv="Content-Type" content="text/html; charset=utf-8">
Rob
  • 3,276
  • 2
  • 22
  • 25