copyright © CSSPG, lud February 28 1999


 for practical use of CSS

Border on <Body>

this document is located at...
<URI:http://css.nu/examples/body-border.html>

Whatever text you like goes here. Caveat: Browsers treat delcarations on <BODY> very differently. These differences may be addressed in CSS3. Put even more text in. Suggest a change in text color, if you'd like. Then, continue with some more text.

The declarations used in this example are:

<STYLE TYPE-"text/css">
<!--
body    {
        color: #000000;
        background: #FFFFFF;
        border-width: 50px;
        border-style: solid;
        border-color: #6699ff;
        }
H1      {
        color: #000099;
        text-align: center;
        }
.change {
        color: #6699ff;
        }							
-->
</STYLE>

CSS Pointers Navigation
Index · Browser Bugs · Books · Tools · DHTML · XSL & DSSSL
Main Site Navigation
Index · Articles · Examples · Experiments · FAQ · Markup · Styles · Who is?
CSSPG ~ Sue ~ Roland
Validate markup Check CSS