0

每当我包含图像并为其设置宽度时,它就会停止在 IE8 中显示。无论哪种方式,它在 IE7 中都能正常显示。

= image_tag 'image.png', :height => 36

效果很好

= image_tag 'image.png', :width => 104, :height => 36

不行

这些属性的顺序也没有区别。有没有人遇到过这个?我可以通过不包括宽度来解决我的问题,但我更喜欢设置宽度。

4

0 回答 0