Pre and code

Már Örlygsson mar.nospam at anomy.net
Fri Oct 5 18:22:31 EDT 2007



> My question is why <pre><code> and not <code><pre>?


because putting <pre> *inside* a <code> violates the HTML spec.

There's something about the CSS on your blog that makes <pre><code>
display the way you describe. You just have to find and fix the CSS
problem, and everything will be fine.


--
Már


More information about the Markdown-Discuss mailing list