Which DocType for the most accessbile / mobile / cross browser site?
I am starting a design from scratch. I would like the site to be accessible / 508 compliant, mobile friendly and cross browser compatible.
Is there a doctype that would be the best one to use and why?
Currently I am thinking of using:
How about one of the XHTML Mobile Profile DOCTYPES?
Do those DOCTYPE's have any issues when just rendering in the standard web browsers? Could I use a mobile DOCTYPE for the entire site? Or would it be best to create a subdirectory redirect?
You could try, but I suspect it will to problems if you use the mobile DOCTYPE on a computer. I think you should have a sub-directory redirect. But of course, try the mobile DOCTYPE first on both platforms, and also try the XHTML Strict in the same scenario, as I am not too sure when it comes to this. Sorry.
Because you can't properly design a website for a desktop and mobile device in one - because of the huge difference in screen size f.e. - this is what I am always doing:
First I design the desktop website, mostly with a XHTML 1.0 Strict DOCTYPE
Then, after I have finished the desktop website, I design a mobile website and put it for example on a subdomain or dotMobi domain (m.domain.com or domain.mobi). For this mobile website I use the following DOCTYPE:
Then you can forward any mobile device to the mobile version or you can put a link to the mobile version on the desktop version. Although I haven't tested this script, it seems like this one will do: http://detectmobilebrowsers.mobi/.
|All times are GMT. The time now is 10:09 PM.|
Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0