bahamut100
bahamut100

Reputation: 1837

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 "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

Upvotes: 0

Views: 1511

Answers (2)

DazManCat
DazManCat

Reputation: 3620

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.

Upvotes: 0

Quentin
Quentin

Reputation: 943214

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.

Upvotes: 2

Related Questions