开发者

height of xap object works fine in IE7 but not working in IE8

I am hosting the silverlight xap object in aspx page. The aspx page contains two <div>. In the first <div> i am having the html menu and in the second <div> i am having the xap. I gave height=95%; for xap object. It works fine with IE7 but in IE8 the height of the xap object is only around 30%. Wh开发者_开发问答at may be the issue?


I found out the answer. The height has to be set in pixels. Also to set the height dynamically, use screen.availHeight and set it in javascript code.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜