[opencms-dev] Where to put a statement issueing the DOCTYPE?

Jonathan Woods jonathan.woods at scintillance.com
Fri Sep 29 11:20:00 CEST 2006


I just use inline content :-).  There may be a convenience JSP tag, but I
don't recall one, nor do I think it would save time/help much.  There are so
many possibilities, in theory changing faster than the JSP spec or the
OpenCms taglib, and you've still got to choose the right doctype for your
circumstance.

Jon

-----Original Message-----
From: opencms-dev-bounces at opencms.org
[mailto:opencms-dev-bounces at opencms.org] On Behalf Of Christoph P. Kukulies
Sent: 29 September 2006 10:06
To: The OpenCms mailing list
Subject: Re: [opencms-dev] Where to put a statement issueing the DOCTYPE?

On Fri, Sep 29, 2006 at 09:35:36AM +0100, Jonathan Woods wrote:
> Yes, it's the first line - with no content preceding it - which is 
> output to the browser.
> 
> As for the text to use, best to do some research because there are 
> implications for target browsers, layout bugs etc.  A good place to 
> start is http://www.alistapart.com/stories/doctype/ but a Google 
> search for 'doctype quirks' (without quotes) will get you other useful
stuff.

OK, fine, but isn't there a JSP tag for outputting the DOCTYPE statement?
Or would I use inline code?
> 
> Examining the pages of my site I see that they all are missing a 
> starting <!DOCTYPE statement.
> 
> I assume it would be a good idea to put it into the main template but 
> what would be the appropriate statement?
> 
--
Chris Christoph P. U. Kukulies kukulies (at) rwth-aachen.de


_______________________________________________
This mail is sent to you from the opencms-dev mailing list To change your
list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev





More information about the opencms-dev mailing list