Lessons Community Resources Tools

Document Frame

Using the CSS border property you can add a frame on your webpages. There are a host of styles you can use, they are :

dotted, dashed, double, groove, inset, outset, ridge & solid

Example:

Look around this page.

Code:

<HEAD>
<style type="text/css">
<!--
body {
border : 15px;
border-style : ridge;
border-color : orange;
}
-->
</style>
</HEAD>