How To Show HTML codes in A Scroll Box on Blogger
Sometimes in my different post I share some HTML codes in scroll box, so that the codes could be different from other text. Today I am going to tell you how to do this.
For Example, you can check this post where I showed some html codes in a scroll box.
Instructions :
- At first, paste the code in your post editor.
- Then, go to the HTML tab of your browser.
- Paste the following code right before your html codes : <div style="width: 580px; height: 300px; font:10pt/12pt Lucida Console; overflow: auto">
- And write </div> after your html codes.
- You can change the width and height value as your wish.
- Then the html codes must be seen in a scroll box.
No comments: