white-space: nowrap is not working in IE in a horizontally scrolling box

前端 未结 1 334
醉酒成梦
醉酒成梦 2021-01-11 13:18

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: now

相关标签:
1条回答
  • 2021-01-11 13:43

    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.

    0 讨论(0)
提交回复
热议问题