Writing code in your posts

You’re a software engineer, you enhance your post from time to time with some piece of code. You’re not satisfied with how your excerpt looks like. Then go ahead and read Writing code in your post. On this blog is use for PRE:

pre {
    border: dashed 1px #666;
    font-size: 12px;
    color: blue;
    padding:10;
    background: #cccccc
    }

and for CODE:

code {
     font: 1.1em 'Courier New', Courier, Fixed;
     }