Friday, October 03, 2008

Writing code in blogspot

Here is a nice way to write code in blogspot



<pre style="border: 1px dashed rgb(153, 153, 153); padding: 5px; overflow: auto; font-family: Andale Mono,Lucida Console,Monaco,fixed,monospace; color: rgb(0, 0, 0); background-color: rgb(238, 238, 238); font-size: 12px; line-height: 14px; width: 100%;">


<code>


Some code here


</code>


</pre>




Code will looks like:


Some code here


... or you can use "Copy as html" addin for visula studio. Link is:

http://blogs.microsoft.co.il/blogs/bursteg/archive/2007/11/21/copy-source-as-html-copysourceashtml-for-visual-studio-2008-rtm.aspx

10 comments:

pg said...

Thanks! This was helpful.

Wyerarch said...

Thanks - I really appreciate this one, i've always wondered how it was done in blogger!

Radhika said...

thanks that was useful!

zawaruddin said...

thanks bro..!!!
that's helpful..!!! ^_^

Agung Prasetiawan, said...

thanks, nice tips

Levent NÄ°SAN said...

thanks..

SAMARTH GAHIRE said...

thanks...

Aaron Angel said...

Thanks for the code.

name designated tosha said...

Thanks... :)

tzach solomon said...

Thanks a lot! :)