Showing only Horizontal scroll bar.

vishalneeraj-24503
Posted by vishalneeraj-24503 under CSS 3 category on | Points: 40 | Views : 428
We have a overflow css property through which we can show scroll bars as horizontal and vertical .It has x and y attributes where x means horizontal and y means vertical .
If we want to show only horizontal scroll bar,then we have to specify auto for x attribute and hidden for y as shown:-
.horizontal_scrollbar_only
{
overflow-x: auto;
overflow-y: hidden;
}

Comments or Responses

Login to post response