Reputation: 2632
I'm using white-space: nowrap
combined with inline-block'd elements to create a horizontally scrolling box. For some reason, in IE, the white-space: nowrap
is being ignored and items are wrapping.
Upvotes: 13
Views: 10263
Reputation: 2632
Found it! We were using word-wrap: break-word
higher up. It seems that word-wrap
interferes with white-space
in Internet Explorer. Fix for this was to set word-wrap: normal
on the element with white-space: nowrap
.
Upvotes: 27