Thursday, September 01, 2005

Console CSS

To make a nifty console area in your web pages, put this in your CSS:

div.console {
color: #0f0;
background: #000;
font-family: monospace;
font-weight: bold;
font-size: 10pt;
padding: 5px 5px 5px 5px;
margin-left: 1cm;
margin-right: 1cm;

}

Then, assign the console class to your div tags. The result looks like this:


This is text in the console class.

No comments: