Friday, May 2, 2014

Formatting CODE SAMPLE in Blogger

To display my code in Blogger I use this snippet of CSS in my HTML


<pre style="border: 1px dashed rgb(153, 153, 153); color: black; font-family: 'Andale Mono', 'Lucida Console', Monaco, fixed, monospace; font-size: 12px; line-height: 14px; overflow: auto; padding: 5px; margin: 5px; width: 90%;">    
MY CODE SAMPLE
</pre>

and it looks like that:


     
MY CODE SAMPLE