Firefox doesn't show silverlight controls

919 Views Asked by At

I have a silverlight application in which I am using the windowless property to show text . Silverlight Plugin Size is 1000*2000, I Have a button (siverlight control) on the Top. I am showing some html text using DIV real time. Its working fine.

My Silverlight Plugin & DIV both style property is= "position:absolute'.

This application is working fine in IE, but When I run this application in Firefox Button doesn't dsiplayed.

Please let me know whats a issue with Firefox ?

Thanks in advance, Laxmilal

1

There are 1 best solutions below

0
On

In your html, specify following code in CSS

html {
height: 100%;
}
body {
height: 100%;
padding: 0;
margin: 0;
min-width: 800px;
min-height: 600px;
}

#silverlightControlHost {
height: 100%;}  

Then in the body

<div id="silverlightControlHost">
<object data="data:application/x-silverlight-2," type="application/x-silverlight-2" width="100%" height="100%">
    <param name="source" value="SOURCE OF YOUR XAP"/>
    <param name="autoUpgrade" value="true" />
                <!--Your other para-->
</object>