We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexDiscussionGeneral Discussion,  Status › publishing code
Page Index Toggle Pages: 1
publishing code (Read 957 times)
publishing code
Sep 7th, 2009, 9:18am
 
hi,
if i want to publish my code on my wordpress blog, and i want that grey box around it, so readers can distinguish the code from the text.
anyone knows how this is done?

cheers in advance,
claus
Re: publishing code
Reply #1 - Sep 7th, 2009, 9:49am
 
Put the code in a div (or pre tag) with a background-color style.
Page Index Toggle Pages: 1