Wednesday, December 9, 2009

Add Xhtml Code to Your Blogger Posts .

Are you using Blogger like me, want to write your own great tutorials with Xhtml, Css, javascript,  … code  .
Trying many plugins and scripts with a huge lines of code and more complexity,
none-readable.  What about the simplicity of code , you have to make your code more simple that readers could understand it.With one line of css code you can put your code properly .
With Simplecode you can put normal XHTML in the markup box  and it will spit out entity-encoded markup suitable for <code> tag,  and put the code between  <pre> tag ( ! important ) that  defines preformatted text.Once you get the code put it directly  into your posts .
But before that,  you have to put a simple line of Css into your blog template .Copy and past it.

pre  { 
        width: 580px; 
        padding: 10px;
        overflow: auto;
        border: 2px solid #ECECEC;
        background: #fff url( repeat; 

Try this trick and if you have any problem with it just let me know .

blog comments powered by Disqus

Post a Comment

JavaScript String lastIndexOf OnTwik