CSS doesn't apply to dynamically created elements in IE 7?

后端 未结 7 1528
不思量自难忘°
不思量自难忘° 2021-02-13 10:32

Still looking for an answer.

Changing or reassigning to the filter\'s innerHTML successfully redraws the element, but breaks my script, so that\'s out.

7条回答
  •  南旧
    南旧 (楼主)
    2021-02-13 11:11

    Don't you need a width as well as a height on the element? I know display: block should give it width: 100%, but IE is not that bright. Does anything change if you provide a width?

提交回复
热议问题