ASPX templates
Version 3.x > ASPX templates > doctype override with ecommerce shopping cart View modes: 
User avatar
Member
Member
davidgoss - 3/29/2010 11:45:08 AM
   
doctype override with ecommerce shopping cart
I recently redesigned my site on Kentico 3.1a and for a number of reasons decided to go with the new HTML5 doctype:

<!DOCTYPE html>

So I replaced the default XHTML 1.0 Transitional doctype in the Master Page with the one above, and all is well...nearly.

When you go to the shopping cart, the doctype changes to XHTML 1.0 Transitional. I assume this was originally to prevent pages invalidating if I had chosen XHTML 1.0 Strict (because of all the align attributes on table cells) but I'd like to change it. How can this be done?

If you need a reference, the site is http://thackerays.co.uk/

Thanks

User avatar
Kentico Developer
Kentico Developer
kentico_helenag - 4/2/2010 7:50:18 AM
   
RE:doctype override with ecommerce shopping cart
Hello,

Due to selection of forum (ASPX templates) I suppose you use them instead of Portal engine. You can find what template uses your Shopping cart page and check its code.

I tested the behavior and I had no problems with the doctype if I re-writed master page which Shopping cart page template uses.

Best regards,
Helena Grulichova