This site wraps each CODE tag snippet in a DIV with a special class.
How can I get my Drupal 6.0 site to do the same? Apparently, I can't add top/bottom margins to plain CODE elements using CSS :-(

Comments

jwatte’s picture

I worked around this problem by using PRE instead of CODE for all the quotes.
If someone could suggest a good module for doing code snippets, though, I'd appreciate it.

keith.smith’s picture

I think drupal.org uses CodeFilter, if that helps.

--keith