Word wrapping for button with specified width in ie7?

后端 未结 2 910
孤街浪徒
孤街浪徒 2021-01-13 17:16

So I have a submit button with a specified width and the containing text is pulled in from elsewhere, it\'s dynamic. The problem is that in ie7, the text does not overflow p

2条回答
  •  栀梦
    栀梦 (楼主)
    2021-01-13 17:27

    add the following css option to your button:

    white-space: nowrap;
    

提交回复
热议问题