Storm Storm - 2 years ago 95
CSS Question

I need to remove the Horizontal Scrollbar on an overflown <DIV>

I have defined a tag with a CSS attribute "overflow" set to "scroll". This is giving me both the vertical and the horizontal scroll bars. I only want the vertical scroll bar. What should i do?

Answer Source

You could try using the

overflow-y: scroll;

This will give you a vertical scroll-bar...


overflow-y: auto;

will only show the scrollbar if it is necessary.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download