“.code” Style

Posted on 22 Mar, 2007 by Scott under Web Design Tips

The code for this code box. It is a class called .code

#content .code{
color: #000000;
background: #F4f4f4 url(codenums.png) repeat-y;
border: 1px solid #ccc;
padding: 1px;
padding-left: 25px;
font-size: 1em;
width: 470px;
margin: 2px auto;
white-space: nowrap;
overflow: auto;}

This is a blockquote. Be scared. Oh yes be very very scared

Well Thats all I can be bothered to do sorry. Other things in the stylesheet include .left/.right/.center So if you want an image to be right add class="right" to it and it will float right!! funny? not really.

If you enjoyed this article, please consider bookmarking it or subscribing to our RSS feeds!

Please leave a comment!