First if the code use < or >, we can change with < for < and > for >.
Before you post on blogger, copy paste your code to word or other program then click replace for < with < and > with > to minimize broken tags.
if only one line you can use <blockquote>..the code..</blockquote>.
But if you wanna write about 200 lines you can do some code write on your css blogger.
- First after log in to your blog click edit html
- Then write this code : before
]]<>/b:skin<
.csscode {
margin : 15px 35px 15px 15px;
padding : 10px;
clear : both;
list-style-type : none;
background : #333333;;
border-top : 2px solid #AAAAAA;
border-right : 2px solid #AAAAAA;
border-bottom : 2px solid #AAAAAA;
border-left : 2px solid #AAAAAA;
}
just like this exsample below.margin : 15px 35px 15px 15px;
padding : 10px;
clear : both;
list-style-type : none;
background : #333333;;
border-top : 2px solid #AAAAAA;
border-right : 2px solid #AAAAAA;
border-bottom : 2px solid #AAAAAA;
border-left : 2px solid #AAAAAA;
}
- Now if you wanna write some code you can use <div class="csscode">.... your code...</div>
0 komentar:
Post a Comment