CSS:位置:固定不工作在Windows Phone [英] CSS: position:fixed not working on Windows Phone

查看:181
本文介绍了CSS:位置:固定不工作在Windows Phone的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图开发的Windows Phone 8的基于Web的应用程序,我有两个div网页的风格的位置是:固定。如果我打开在Windows Phone上的Internet Explorer的应用程序,然后导航到我的网页,固定元素完美显示。然而,当我在 web浏览器查看网页中的本机应用程序WP8的控制,的位置是:固定风格完全忽略。

I am trying to develop a web based app for Windows Phone 8. I have a web page with two divs with the style position:fixed. If I open the Internet Explorer app on the Windows Phone and navigate to my web page, the fixed elements display perfectly. However, when I view the web page in the WebBrowser WP8 control in the native app, the position:fixed style is completely ignored.

我也注意到,我所有的CSS的过渡也将仅在完整的Internet Explorer的应用程序工作。这是不一样大的问题,但由于缺乏固定的定位是一个现实的问题。为什么 web浏览器操作,以及是否有任何变通办法?

I also noticed that all my css transitions also will only work in the full Internet Explorer app. This is not as big of a problem, but the lack of fixed positioning is a real issue. Why is the WebBrowser doing this, and are there any workarounds?

我知道固定的定位和转换没有工作在WP7,我想知道是否也许WP8 web浏览器控件具有相同的代码WP7 web浏览器控制。

I know fixed positioning and transitions did not work in WP7, I'm wondering if maybe the WP8 WebBrowser control has the same code as the WP7 WebBrowser control.

推荐答案

位置:-ms装置固定的伎俩我

这篇关于CSS:位置:固定不工作在Windows Phone的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆