-->

Thursday, February 13, 2014

Put html or css code inside your blog post

Scrolling text box is very necessary when you want to put some html or css code inside your blog post. So this cool trick is all about making scrolling window inside your post so that you can put some codes into them.
   Go in Your Post Blogger and choose HTML editing mode
Copy the following thid html code and paste in your compose window of html section
 <br />
<div style="border: 1px solid #ccc; font: 16px/26px Georgia, Garamond,
Serif; height: 500px; overflow: auto; width: 600px;">
<br />

 You can change the height and width of scrolling box according to your need
 Once you have pasted the html code back into writing mode and enter text in box
For Example 
 <br />
<div style="border: 3px solid #4E97A6; font: 16px/26px Georgia, Garamond,
Serif; height: 50px; overflow: auto; width: 500px;">
<br />

No comments:

Post a Comment