Sunday, December 6, 2009

Show HTML/CSS Codes On Coloured Background In Blogger Posts


1.Login to your dashboard--> layout- -> Edit HTML

2.Scroll down to where you see ]]></b:skin> tag.
3.Now copy below code and paste it before ]]></b:skin> tag.


.csscode { margin : 10px 10px 10px 10px; padding : 5px; clear : both; list-style-type : none; background : #F9F7E8;; border-top : 2px solid #000000; border-right : 2px solid #000000; border-bottom : 2px solid #000000; border-left : 2px solid #000000; }

3.Now copy below code and paste it before ]]></b:skin> tag
4.Now save your template.
5.Now when you want to insert some codes in your posts always put it between <div class="csscode"> and </div> and publish your post.


<div class="csscode">

YOUR CODE HERE

</div>


It will look like this.






Stumble
Delicious
Technorati
Twitter
Facebook







Related Posts by Categories







0 comments on "Show HTML/CSS Codes On Coloured Background In Blogger Posts"

This is DoFollow Blog Leave a Comment

:)) ;)) ;;) :D ;) :p :(( :) :( :X =(( :-o :-/ :-* :| 8-} :)] ~x( :-t b-( :-L x( =))

Post a Comment

 

Latest Blogger Tricks,Tips,Tutorial,Template,Widgets