Regards,
Lynne
On 1/6/06, designer <[EMAIL PROTECTED]> wrote:
The approach I use (I'm learning, incidentally) was triggered originally by Georg : write your page as XHTML ( 1.1 even) and serve it whilst testing as application/xhtml+xml. When it validates and there are no well formedness errors, you can serve it in any way you want/need, knowing that 'it's ready'. For anyone who hasn't seen it, a great way to actually use the resulting code is to use PHP to check the http_accept and insert the DTD header/mimetype as appropriate (see
http://www.workingwith.me.uk/articles/scripting/mimetypes/
I have used this approach on my site ( [1 ]below) and this serves the pages as html 4.01 to IE , and xhtml1.1 to 'modern browsers like FF, Opera, etc. I'm not sure of the real world value at this time, but certainly it is an excellent discipline in helping me write well formed pages.
Best Regards,
Bob McClelland
Cornwall (UK)
[1] http://www.gwelanmor-internet.co.uk