css of scroll didn't appear

css of scroll didn't appear

  

i add some css in this container, but when the application was run, the scroll bar didn't appear. any now how to fixing this?

Solution

Hi,

Set the width:100%;


also, try this one.

.scroll{

width:100%;

overflow:auto;

height:100px; /* if you want vertical scroll*/

}

It will work.


Regards,

Pankaj Pant

Solution

Erron Lolha wrote:

i add some css in this container, but when the application was run, the scroll bar didn't appear. any now how to fixing this?

hii Erron Lolha

You need to set width and height properties also in the class .scroll  in order to see the Scroll.