display the script code in posts

        
 
 
 
 
 For the bloggers who like to post a tutorial, sometimes we need to display the script code on our posts. Of course we mean the code is not processed by the bloggers and just appear as plain text. For that, after the writer asked to google finally see also how to display the script tutorials on our blog postings. For that, there are two ways to do it. The first, consider the following steps:

1. Sign in Blogger>
2. Click Layout (layout).
3. On the Layout / layout click Edit HTML and check Expand Widget Templates.
4. Find this code ]]></ b: skin>, copy the following code above

. codeview {
padding: 3px; margin: 3px;
}

. codeview li {
padding: 3px; margin: 3px;
}

5. At the time of posting, how to include script code / HTML code that is used to encode the http://centricle.com/tools/html-entities/, paste the code and click encode. paste the results to the post page, add <div class="codeview"> early script and </ div> at the end of the script

For the second way:
Stay lakuakn just steps no 5, paste it in all the text (which contains the script) to upload code http://centricle.com/tools/html-entities/ and stay encodenya results to blog posts ... It's easier, right ... : P
These icons link to social bookmarking sites where readers can share and discover new web pages.
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • Furl
  • Reddit
  • Spurl
  • StumbleUpon
  • Technorati

Leave a comment