.code {
background-color: #eeeeee;
border: 1px dashed rgb(153, 153, 153);
font-family: 'Andale Mono', 'Lucida Console', Monaco, fixed, monospace;
font-size: 12px;
line-height: 14px;
margin: 10px 0 10px 10px;
overflow: auto;
padding: 10px 10px 10px;
width: 600px;
color: black;
}
border: 1px dashed rgb(153, 153, 153);
font-family: 'Andale Mono', 'Lucida Console', Monaco, fixed, monospace;
font-size: 12px;
line-height: 14px;
margin: 10px 0 10px 10px;
overflow: auto;
padding: 10px 10px 10px;
width: 600px;
color: black;
}
Then write your code inside div tag like shown below. Don't forget by writing this in HTML mode (simplify by pressing HTML button).
<div class='code'>
Your code should be pasted here in this div tag.
</div>
Your code should be pasted here in this div tag.
</div>
No comments:
Post a Comment