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 (to disable border/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>
<style>
body{background:black; color:white; border:0;font:13px Verdana, Arial;}
img{border:none; margin:100px;}
</style>
</head>

<body scroll="no">

<br><BR><BR><br>
This page uses a non-strict doctype, which should turn off borders in KioWare&reg;:<Br>
<i>&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"&gt;</i>
<br><BR>
<p>As documented by Microsoft, this forces the browser control into
non-standards compliance mode.
</p>
<p>Putting scroll="no" in the body tag forces scrollbars off.
</p>
<p>Additionally, one user noticed that they had to use<br/>
<i>&lt;BODY style="border:0;"&gt;</i>
<b>in addition to the doctype</b>, in order to achieve the desired effect.
</p>
<br/><br/><br/><br/>
<p><img src="/kwwmedia/KioWare_logo_1024wide.png" alt="KioWare logo"></p>


</body>
</html>