Displaying codes in post

October 19, 2006

I have activated coffee2code‘s Preserve Code Formatting plugin instead. I have added formatting class selector named ‘codebox’ of below CSS codes as you can see in this and that post.


.codebox {
border: none;
font: 14px "lucida console";
color: #ffffff;
padding:5px;
width:500px;
height:auto;
background: #005700;
}

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: