WebTechKitchen; Your Web Technology Kitchen, contact us to create, or maintain your websites and other digital properties.

making <pre> tags make code snippets show up in a browser nicely

Submitted by barnettech on Thu, 12/10/2009 - 14:23

I put this in my style.css file in this drupal installation:

code, tt, pre {
background-color: #EDF1F3;
font-family: "Bitstream Vera Sans Mono",Monaco,"Lucida Console",monospace;
font-size: 0.9em;
line-height: 1.2em;
}