开发者

display:none not removed on Internet Explorer

I have a strange problem.

I'm using Protoype to show a "<ul></ul>" markup with Show() method (Toggle() too).

When I click on my button to display my "<ul></ul>", Internet Explorer display it on the screen, but in the source code, the 开发者_C百科"display:none" is always present O_o

And my flash player doesn't work because of this.

But on other browers, it works

You can see it here (click on "Voir la réponse vidéo")

http://www.snaaf.fr/question


This is expected behaviour. The source code is the source code, not a live representation of the DOM. If you want that, use a DOM inspector.


I had a similar problem with a button that in a dual use popup div. Seems to be an issue with IE and I sorted it by adding a position:relative to the element with the display:none.

Just another one of those darn IE css quirks.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜