Examples
The following is a list of sample code for which our clients have asked. Feel free to use this as necessary with your KioWare project.
Force IE into Non-Standards compliance mode
Force IE into Non-Standards compliance mode AND disable scrollbars
Microsoft's documentation on this can be found here.
Copy to Clipboard |
View Code In Action
|
Back
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Non-Strict Test</TITLE>
</HEAD>
<BODY scroll=no BGCOLOR="BLACK" link="yellow" vlink="yellow" alink="yellow">
<br><BR><BR>
<font face="verdana" size="2" color="white">
<br>
This is a non-strict doctype, combined with scroll=no in the body tag,<br>
which will have the effect of turning off borders and scrollbars in KioWare (tm).
<br><BR>
As <a href="http://msdn.microsoft.com/library/default.asp?url=/workshop/author/dhtml/reference/objects/doctype.asp">documented by Microsoft</a>, this forces the browser control into<br>
non-standards compliance mode.<br><Br>
</BODY>
</HTML>