The site it's all about: The Gamevault

Enjoy.

Wednesday, September 30, 2009

Code box for the blog

I just added a small css change that draws a nice codebox when needed!


.code {
background-color:#3E3E3E;
background-image:url(http://the-gamevault.com/images/code.jpg);
border:1px solid #585959;
color:black;
margin-left:5px;
overflow: auto;
padding-left: 5px;
white-space:pre;
width: 99%;
}


Actually I made this box for a friend some months ago, but it's nice than I can use it too now :)

No comments:

Post a Comment