carlo
carlo

Reputation: 700

IE: vertical scrollbar appears if horizontal scrollbar shown

i've got an issue with scrollbars showing up in Internet Explorer.
I've got a div of which it's content can be wider than the div itself, so a horizontal scollbar appears. The horizontal scrollbar is fine, but Internet Explorer also shows a vertical scrollbar if a horizontal one is shown. I suppose that's because IE let's the horizontal scrollbar overlap some content wherefore the vertical one is shown.
Now my question is if there is some trick to prevent the horizontal scrollbar from overlapping the content, thus appearing under the content, so a vertical scrollbar doesn't appear? Even when i'm adding some padding-bottom the scrollbar seems to keep overlapping the div's content...

Upvotes: 2

Views: 2140

Answers (1)

benhowdle89
benhowdle89

Reputation: 37464

Overflow-y:hidden; (vertical scroll bar)

bit of a hack but works

Upvotes: 2

Related Questions