If you need a frame around the viewport, you can try the following:
<html>
<head>
<style>
body {position: fixed; top:0; left: 0; bottom: -5px; right: -5px;
border: 5px solid red;}
</style>
</head>
<body>
</body>
</html>
Depending on what you want, it is even better to use something like the YUI Layout Manager .
jira source
share