browsers have quirks modes (Quirks mode) and standard modes (standards mode). Quirks mode is designed to be compatible with older Web pages, simulating non-standard implementations of early browsers (such as IE5.5), while standard patterns are implemented as standard. The key to activating the different patterns is the DOCTYPE of the HTML page. The default DOCTYPE generated by Domino is still: <! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 transitional//en" > It will trigger quirks mode in all current browsers, and the problem resolution needs to be changed to DOCTYPE. Here are the corresponding instructions and how to modify them: /******************* This part is from what's new in notes/Domino 7.0.2*********** start ***************/ user-defined HTML tag Attributes user-defined attributes can now is added to the <HTML> Tag generated By the Web engine. When the field $ $HTMLTagAttributes was present on a form, its contents was placed in T He attribute list of the <HTML> tag. For more information, see "Additional html-related field Attributes" In these release notes Custom <! Doctype> Declaration Users can now specify a custom <! doctype> declaration on a per form basis. When the field$ $HTMLFrontMatter are present on a form, its contents'll be placed in the generated HTML, ahead of The tag, and the Web server would not generate anything there automatically. For more information, see "Additional html-related field Attributes" in these release notes /******************* This part is excerpted from what's new in Notes/domino 7.0.2*********** end ***************/ You can see that the new version provides a form field to control doctype. However, this domain is only supported in the Domino7.02 version, and in the previous version only parameters can be added in Notes.ini: Dominocompletedoctype resolved. Specific parameter values: 0 = <! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 transitional//en" > 1 = <! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01 transitional//en" "title=" Http://www.w3.org/TR/html4/loose.dtd ">" > Http://www.w3.org/TR/html4/loose.dtd "> 2 = <! DOCTYPE HTML PUBLIC "-//w3c//dtd HTML 4.01//en" "title=" Http://www.w3.org/TR/html4/strict.dtd ">" >http:// Www.w3.org/TR/html4/strict.dtd "> We just want to trigger the standard mode, so we'll use 1. However, because it is modified by Notes.ini, it will definitely affect all forms, and you can use the $ $HTMLFrontMatter field to change individual forms. |