Spiga

Scroll Bar for Blog Post Body

Adding Scrollbar to Blog Post body
once you are logged into Blogger account, go to Template -> Edit HTML and scroll to this code. Add the portion shown in red:-

 

Step 1 : Open your Blogger Account and Edit Html Under Layouts Tab;

Set 2 : Search for .post ( by browser Search) and Put the Red Portion in Curly Bracket. { }

 

  .post {
height:200px;
overflow:auto;

}

 

This will give you scrollbars to every post:-

Scrollbars within Blog Post
Sometimes, you may not want to have the scrollbars to all the [...]

This will give you scrollbars to every post:-

 

Scrollbars within Blog Post

 

scrollbarpost

This setting, scrollbars will automatically appear according to your need:-

Sometimes, you may not want to have the scrollbars to all the blog posts, but only for several paragraphs within a post. Assuming you are writing an article and you wish to enclose some long text within a scrollbox, you have to first define a class within the stylesheet.

For example, we can insert in the stylesheet this code to specify the maximum height and width of the scrollbox. Once the text overflows

 

Step 1 : Open your Blogger Account and Edit Html Under Layouts Tab;

Set 2 : Search for </b:link> by Browser search place the below code before it.

.scrollbox {

height:100px;

width:400px;

overflow:auto;

}

Step 3: Save the template.

 

Next, when you are writing a post, switch from the “Compose” mode to the “Edit HTML” mode and put the below code where your want to appear scrolling bar.

 

scrollbarpost1

 

<div class=”scrollbox”>TEXT TO BE INCLUDED IN THE SCROLLBOX.</div>

 

You can continue typing the post by switching back to the “Compose” mode.

After you are done, when you publish your post, you will see that only the part of the text comprised with the tags will be in a scrollbox, like this:-

Related Posts by Categories



5 comments:

  ♥[tahirah]♥

February 26, 2010 at 12:14 AM

thnks. it really helps me. i wanna ask u, how to add border around the post ?

  Baby&Toddler

October 16, 2010 at 3:59 AM

How would you create one scroll for all posts instead of individual ones

  by_bora

January 28, 2011 at 7:41 AM

Hello, very nice site you expect coming turkish achievements!! www.otukenim.tr.gg

  nandu

April 23, 2011 at 9:46 AM

very very useful and so simple thanks very much can i know how to add scroll bar to labels list plzzz

  Anonymous

February 27, 2014 at 10:59 PM

Excellent web site you have got here.. It's hard to find high-quality writing like yours nowadays. I truly appreciate individuals like you!
website design

Post a Comment

Add to: Mr. Wong Add to: Webnews Add to: Icio Add to: Oneview Add to: Yigg Add to: Linkarena Add to: Digg Add to: Del.icoi.us Add to: Reddit Add to: Simpy Add to: StumbleUpon Add to: Slashdot Add to: Netscape Add to: Furl Add to: Yahoo Add to: Blogmarks Add to: Diigo Add to: Technorati Add to: Newsvine Add to: Blinkbits Add to: Ma.Gnolia Add to: Smarking Add to: Netvouz Add to: Folkd Add to: Spurl Add to: Google Add to: Blinklist Information