What DTD should i be using with my site?

Client template has been provided with just <!DOCTYPE html>.

I am trying to use Selectivizr.js moving forward for some layout options but I see this on there page:

For Selectivizr to work IE must be running in standards mode — so make sure you have a DTD at the top of your pages.

What DTD should i be using for this site?

www.mymarketingsolutions.com/Site

Thanks
Ryan.

The doctype you have is fine. It’s basically the one used with HTML5, but it works for all versions of HTML. It will put IE in standards mode. Since your page uses a lot of HTML5 elements, it makes sense to use that doctype.

Thank you for the quick reply - now to just see why the :checked selector is not working within IE8 using “Selectivizr”…

My Marketing Solutions -

Could you be more specific? Where in the code is that meant to be?

I am using the :checked css selector in the table, which works fine on most browsers but not IE8. Using Selectivizr - CSS3 pseudo-class and attribute selectors for IE 6-8 I should be able to get this working on the packages.html site table.

My Marketing Solutions -

Head:

  <script type="text/javascript" src="js/jquery-1.5.2.js"></script>
<!--[if (gte IE 6)&(lte IE 8)]>
  <script type="text/javascript" src="js/selectivizr.js"></script>
  <noscript><link rel="stylesheet" href="[fallback css]" /></noscript>
<![endif]--> 
  

CSS:


.table1 tbody span.check::before{
    content : url(../images/check0.png);
}

Sorry i am using :before selector… and i don’t think this will work… sorry for wasting yoru time… early morning need more coffee…