In this article i will show you how you can put scroll to your div control. In this will show you how you can show both horizontal and vertical scroll bar of a div using css.
So here is the css style.
Horizontal and vertical scroll bar
.divscrollbarscrollbarxy
{
overflow-x: auto; /*this is for horizontal scroll bar */
overflow-y: auto; /*this is for vertical scroll bar */
}
Eg:
How to show horizontal and vertical scroll bar of a div using css
So here is the css style.
Horizontal and vertical scroll bar
.divscrollbarscrollbarxy
{
overflow-x: auto; /*this is for horizontal scroll bar */
overflow-y: auto; /*this is for vertical scroll bar */
}
Eg:
.divscrollbarscrollbarxy
{
overflow-x: auto; /*this is for horizontal scroll bar */
overflow-y: auto; /*this is for vertical scroll bar */
}
How to show horizontal and vertical
scroll bar of a div using css
Horizontal and vertical scroll bar
How to show horizontal and vertical scroll bar of a div using css
How to show horizontal and vertical scroll bar of a div using css
How to show horizontal and vertical scroll bar of a div using css
How to show horizontal and vertical scroll bar of a div using css
How to show horizontal and vertical scroll bar of a div using css
How to show horizontal and vertical scroll bar of a div using css
How to show horizontal and vertical scroll bar of a div using css
Show only vertical scroll bar
.divscrollbarscrollbarxy
{
overflow-x: hidden; /*this is or hiding horizontal scroll bar*/
overflow-y: auto; /*this is for vertical scroll bar*/
}
Here is the example
.divscrollbarscrollbarxy
{
overflow-x: hidden; /*for hiding horizontal scroll bar*/
overflow-y: auto; /*for vertical scroll bar*/
}
How to show horizontal and vertical
scroll bar of a div using css
Show only vertical scroll bar
How to show horizontal and vertical scroll bar of a div using css
How to show horizontal and vertical scroll bar of a div using css
How to show horizontal and vertical scroll bar of a div using css
How to show horizontal and vertical scroll bar of a div using css
How to show horizontal and vertical scroll bar of a div using css
How to show horizontal and vertical scroll bar of a div using css
How to show horizontal and vertical scroll bar of a div using css
Show only Horizontal scroll bar
.divscrollbarscrollbarxy
{
overflow-x: hidden; /*this is for hiding horizontal scroll bar*/
overflow-y: auto; /*this is for vertical scroll bar*/
}
Here is the example
.divscrollbarscrollbarxy
{
overflow-x: auto; /*this is for hiding horizontal scroll bar*/
}
How to show horizontal and vertical
scroll bar of a div using css
Show only Horizontal scroll bar
to show horizontal and vertical scroll bar of a div using cssHow
to show horizontal and vertical scroll bar of a div using css
How to show horizontal and vertical scroll bar of a div using css
How to show horizontal and vertical scroll bar of a div using css
How to show horizontal and vertical scroll bar of a div using css
How to show horizontal and vertical scroll bar of a div using css
How to show horizontal and vertical scroll bar of a div using css
How to show horizontal and vertical scroll bar of a div using css
Tags: CSS/CSS3
No comments:
Post a Comment