How to remove horizontal scrollbar and yet allow vertical

61

overflow: auto; /* Setting the overflow to auto will automatically put a scrollbar where it is needed */

/* 
But if you insist you do not want an horizontal scrolbar, 
even if there is an overflowing text, you could use this lines of code
*/

overflow-y: scroll;
overflow-x: hidden;

Comments

Submit
0 Comments