Posts Tagged 'html'

Silverlight object-tag problems in Firefox

Silverlight apps are embedded into web pages using the <object> tag. Now for some reason, Firefox refuses to instantiate the Silverlight application if the object-tag attributes are not in a certain order. As example, this won’t work in Firefox:

<object width="100%" height="100%" 
data="data:application/x-silverlight-2" type="application/x-silverlight-2">

One has to position the data and  type attributes first to make it work, like this:

<object data="data:application/x-silverlight-2" type="application/x-silverlight-2" 
width="100%" height="100%">

Strange bug..