DOCTYPE

 

Setting the proper DOCTYPE corrects problems related to:

- Wimpy not displaying.
- Wimpy only working in some browers (but not others).
- Playlists failing to load.

Wimpy is incorporates the latested features of the HTML specification.  As such, your HTML pages must have the new, simplified DOCTYPE code in order to notify the browser that the page should be treaded as a modern, HTML-5 compliant page.

The DOCTYPE below is the new, simplified DOCTYPE that you should use on your pages.

<!DOCTYPE html>

The DOCTYPE must be the first line on your page because it informs the browser about what kind of HTML code is present in the page.

In context, it should read as:

<!DOCTYPE html>
<html lang="en-US">
<head>
<title>My Page Title</title>
... and the rest of your page's code follows...

 

Older DOCTYPES, like this freakishly long and impossible to remember one:

NO LONGER RECOMMENDED:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

... can cause a browser to ignore some of the code Wimpy leverages. So if you're page has one of these older DOCTYPES, then you'll need to change it to the new, simplified (and recommended) DOCTYPE.

 

 

Internet Explorer

To force Internet Explorer to render... err... better, set the following meta tag in the <head>

<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

 

This <meta> tag causes IE to render the page using the latest rendering "mode", meaning that rather than allowing Microsoft to guess about the capabilities within the HTML, this tag simply informs IE that this page is "modern" and shoudl be rendered as such.

In context your HTML should read as:

<!DOCTYPE html>
<html lang="en-US">
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<title>My Page Title</title>
... and the rest of your page's code follows...