Re: [SMARTY] standart plugin(s) suggestion
| From: | Matthias Mohr | Date: | Tue, 18 Feb 2003 15:10:50 +0000 |
| Subject: | Re: [SMARTY] standart plugin(s) suggestion | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7829@lists.php.net to get a copy of this message | ||
> that sounds fine, but I think one plugin would suffice.
>
> {html_dtd type="transitional"}
> {html_dtd type="frameset"}
> ...
Yes, a plugin would be enough (I think), but if you do it make sure,
that the URL to DTDs is optional.
I never use it, because in my opinion the browsers always switch to
strict if _any_ DTD-file is given (especially IE6).
BTW, here is a good overview of the possible DOCTYPES:
http://www.htmlhelp.com /tools/validator/doctype.html
(but they don't tell, that the DTD-URLs can cause trouble :)
and here is Microsoft's official statement (for IE6):
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnie60/html/cssenhancements.asp
with regards,
Matthias