You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Kintzel Levente <ki...@softech.ro> on 2005/05/02 13:12:50 UTC
DOCTYPE
Hi!
I want to set the doctype of my HTML to be:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
In my TR.properties I tried to set
default.doctype="-//W3C//DTD HTML 4.01 Transitional//EN",""
But in this case I have generated:
<!DOCTYPE null, null "-//W3C//DTD HTML 4.01 Transitional//EN","">
and the HTML page don't work properly.
Can anybody give me a suggestion for correct setting of the DOCTYPE.
Thanks a lot!
Regards,
Levi
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
RE: DOCTYPE
Posted by David Demner <tu...@demner.com>.
Hi Levi,
According to the VelocityOnlyLayout documentation on the turbine site, this
is how you set up the doctype:
default.html.doctype.root.element=HTML
default.html.doctype.identifier=-//W3C//DTD HTML 4.01 Transitional//EN
default.html.doctype.url=http://www.w3.org/TR/1999/REC-html401-19991224/loos
e.dtd
I have "default.doctype=Html40Transitional" In my
TurbineResources.properties, and according to a comment therein you can use
Html40Strict, Html40Transitional, or Html40Frameset. My DOCTYPE looks
similar to the one below using Html40Transitional
You can try these two options to see if either of them give you what you
want.
Good luck,
David
-----Original Message-----
From: Kintzel Levente [mailto:kintzel.levente@softech.ro]
Sent: Monday May 2, 2005 4:13 AM
To: turbine-user@jakarta.apache.org
Subject: DOCTYPE
Hi!
I want to set the doctype of my HTML to be:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
In my TR.properties I tried to set
default.doctype="-//W3C//DTD HTML 4.01 Transitional//EN",""
But in this case I have generated:
<!DOCTYPE null, null "-//W3C//DTD HTML 4.01 Transitional//EN","">
and the HTML page don't work properly.
Can anybody give me a suggestion for correct setting of the DOCTYPE.
Thanks a lot!
Regards,
Levi
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: turbine-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: turbine-user-help@jakarta.apache.org