Movable Type CSS ‘Code’ and ‘Pre’ Tags

I’ve been tweaking my style sheet to fix code displayed with the <code> and <pre> tags. But I sometimes use <code> inline as well as blockquoted, and I wanted only the blockquoted version to be highlighted. Here’s the snippet of code from my style sheet:


code {font-size:110%;}
pre {padding:5px; font-size:110%; margin:0px 0px 0px 0px; font-family:"Courier New"; font-weight:normal; background-color:#CCCCCC;}

Thanks to scriptygoddess for the inspiration.

Leave a Reply

Your email address will not be published. Required fields are marked *