Saturday, June 29, 2013

How to change and add scroll box background color in blogger or websites.

Hey guys here is code which you want from us,because we know that what you want.For putting a stylish scroll box in your blogger /website you have to do some following steps before putting codes.
In Blogger

  1. open blogger>Layout
  2. Html/Java Script
  3. And paste the below codes inside 



Basic HTML Scroll Box
<div style="height:120px;width:120px;border:1px solid #ccc;font:16px/26px Georgia, Garamond, Serif;overflow:auto;">
As you can see, once there's enough text in this box, the box will grow scroll bars... that's why we call it a scroll box! You could also place an image into the scroll box.
</div>



Background Color
This example changes the background color of the scroll box. In HTML, you change background color using the CSS background-color property:

HTML Code:
<div style="height:90px;width:150px;overflow:scroll;background-color:#67F152;">We have added a background color to this HTML scroll box. This is done using the CSS 'background-color' property.</div>
Html codes:
<div style="height:90px;width:150px;overflow:scroll;background-color:#67F152;color:#A6120D;">We have changed the color of the text inside this scroll box. We did this using the CSS 'color' property.</div>

0 comments:

Post a Comment

Gamer City z

Free for your eye videos