Wednesday, December 9, 2009

Add simple Code to Your Blogger Post Tutorials .

Are you using Blogger like me, want to write your own great tutorials with Xhtml, Css etc …  .and trying many blugins 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.Whith one line of css code you can put your code properly .

with simple code you can put normal XHTML in the markup box  and it will spit out entity-encoded markup suitable for <code> tag ,  you can remove the <code> tags and put the <pre> tag ( ! important )that  defines preformatted text.Just 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 {
padding: 10px;
border: 2px solid #ECECEC;
overflow: auto;
background: #fff url(http://img260.imageshack.us/img260/3792/codebg.png) repeat;
}

Post a Comment