Showing only Horizontal scroll bar.

Posted by vishalneeraj-24503 under CSS 3 category on | Points: 40 | Views : 906
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:-
overflow-x: auto;
overflow-y: hidden;

Comments or Responses

Login to post response