Pages

Tuesday, August 23, 2011

How To Create A Box Scroll In The Sidebar

To Create A Box Scroll In The Sidebar, you must follow this step :

Step 1
  • Login Blogger
  • Select Design
  • In the Page Elements click Add a Gadget
  • Select Add HTML/Javascript

Step 2

Copy and Paste the following code into your HTML/Javascript.
i.e.
<div style="background: #BDBDBD; border: 1px solid rgb(153, 153, 153); height: 105px; overflow: auto; text-align: center; width: 215px;">
Text 1
Text 2
Text 3
Text 4
Text 5
Text 6
Text 7
Text 8
</div>

View

Text 1
Text 2
Text 3
Text 4
Text 5
Text 6
Text 7
Text 8

To set the background or width and height of the column, replace the text in red.

0 comments:

Post a Comment