Hi

Is it not possible to define different classes for different elements ?

Code:
    <style type="text/css">
    pre .code1
     {
        border:1px solid red;
        color:red;
     }
    span .code1 
     {
        border:1px solid blue;        
        color:blue;
     }
    </style>

<pre class="code1">
code snippet
</pre>
<span class="code1">code line</span>