Hence, to make some changes in your blogger template , you would have to add a few CSS codes to your template.
Step1 :
Go to Dashboard> Layout >Edit Html.
Step 2:
Click on "Edit HTML " Tab and it will open up a new window .
Step 3:
Now Search for this Code: ]]></b:skin>
(Check out here to locate a code easily in the Template)
Add the following Code just above the ]]></b:skin> code.
preStep 5:
{
background:#efefef;
border:1px solid #A6B0BF;
font-size:120%;
line-height:100%;
overflow:auto;
padding:10px;
color:#000000 }
pre:hover {
border:1px solid #efefef;
}
code {
font-size:120%;
text-align:left;
margin:0;padding:0;
color: #000000;}
.clear { clear:both;
overflow:hidden;
}
Save Your Template.
Done! Now, your blog is ready to show HTML codes in every blog post. Awesome, isn’t it? Also,it is so very easy.
There is still one more step you would have to follow, to show Html codes in blog post.
While writing your post , go to Edit Html section of your post and add <pre>before and </pre>after the codes.
Like this: <pre>Your Codes Here</pre>
That’s it! Your Html codes will show in your Blog post! :)
No comments:
Post a Comment