You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Rob Ward <rw...@paradata.com> on 2001/08/01 20:04:40 UTC

How to change DOCTYPE element?

Is there a way to set the DOCTYPE used in a template?

I ask, because the default DOCTYPE generated by Velocity specifies
"loose.dtd" as the DTD used by the document. Trouble is, in IE 5.5 and 6,
this actually means the document is displayed in strict mode. 

Obviously the best solution here is to just make sure all the HTML is
strict, valid HTML 4, but I'm still curious as to how I can change the
contents of the DOCTYPE header.

Rob


---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org