Skip to Content
0
Former Member
Nov 22, 2005 at 07:55 PM

Setting the HTML DOCTYPE with WAD?

69 Views

Does any one know how to set the HTML DOCTYPE for a Web Application Designer template? If you simply put the tag at the top of the page, Bex inserts JavaScript above the manually inserted doctype tag rendering it useless. For example:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"

"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

inserted at the top of the page, gets pushed down to line 54 at runtime due to generated script. Consequently, since the DOCTYPE tag is not line 1, the browsers ignore it.