Skip to main content

Posts

Showing posts with the label blog script codebox

Post Scripts in blogs

Posting scripts in the blogs is not straightforward. I came across some ways to do so: Method #1: Simple Approach: This will display the script as follows: Print("This is my code in codebox"); Method#2: Better Approach: 1. Login to your Blogger account. 2. Goto Design and then Edit HTML. Then you will see the script for your current blog template. 3. Backup your current template by clicking at "Download Full Template". You may skip this step if you are confident that you do not need it afterwards. 4. Find ]]></b:skin> in the code and add the following code just before ]]></b:skin> : .code {color: #006AB0; border : 1px solpd #DfADADA;padding : 5px 5px;font-family : Consolas, "Courier New", Courier, mono, serif;font-size : 12px;background-color : #fAfAfA; width : 90%;overflow : auto;margin : 10px 0 10px 10px; border-left : 20px solid #DADADA;max-height : 500px;min-height : 16px;line-height : 16px;} .code:hover {background-c...