Friday, November 21, 2008

Silverlight 2 App not showing in FireFox 3

Found out something interesting today. Silverlight Apps only work in Firefox 3 if the countainer div tag of the asp:Silverlight tag has an explicit height and not a height of 100%.

I also found an interesting post here which mentioned that the !DOCTYPE tag can also cause strange behaviour when Silverlight is concerned in certain browsers. I was experiencing a problem with the height of the Silverlight App on my page in IE6, and removing the !DOCTYPE tag sorted this out.

No comments: