Possible Duplicate:
Is there a CSS parent selector?
Is it possible to have different pre style only for those pre tags, that have a code tag inside?
<pre>Lorem Ipsum</pre>
should be styled differently than
<pre><code>code</code></pre>
but on the pre element.