Thank you for your reply.
Actually the .code is a class (below) that I use to style code. That works fine and gives me the look I want. The problem is that when I copy and paste this code to the program that I use the code in, I always get errors.
<div class="code">
anyway, today I was experimenting with using the built-in code tag (below), and that seems to work well. I can copy and paste code and it seems to work. My problem is that I am unable to style the code.
<code>
I already tried doing what you suggested but it made no difference.
Here is an example of both my .code class and the built-in code tag in action. the code with the white background is the default, with gray bg is my custom style.
http://oliverwolfson.com/mel-renaming/