CodeCharge Studio
search Register Login  

Web Reports

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> Archive -> GotoCode Archive

 !DOCTYPE declaration with templates

Print topic Send  topic

Author Message
Gianni
Posted: 09/25/2002, 8:36 AM

Hi,

I'm using CC 2.0.5+JSP with templates.
I'd like to add the !DOCTYPE declaration to generated pages in order to check accessibility based on W3C recommendations.
Unfortunately [Page properties]->[Custom head section] doesn't allow to write directives before the <HEAD> tag, so I have to manually edit ALL the generated templates. If templates have to be re-generated, obviously I have to re-do all the work.

Is there a better solution?

Thanks everybody.
Gianni
Timothy
Posted: 09/30/2002, 4:26 AM

Gianni,
you can add the declaration inside <head> section for all the pages inside CC project (Site Properties->General tab->Default <head> section), otherwise the only way is to edit .html files.
Gianni
Posted: 09/30/2002, 5:01 AM

Sorry...
I should have written <HTML> in place of <HEAD>. Infact a final template shoud look like:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML>
<HEAD>
...
</HEAD>
...

As far as I can tell, there's no way to have CC write the DOCTYPE directive before the <HTML> tag.

   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.