CSS加载问题与Android ICS [英] CSS loading issue with Android ICS
问题描述
我有一个Android ICS 4.0.3安装在我的手机。我已创建了一个移动Web应用程序(URL测试 http://drupal.langoor.mobi ),为此,我所服务HTML页面从动态与后端的MySQL数据库。
I have an Android ICS 4.0.3 installed in my phone. I have created one Mobile Web Application (test url http://drupal.langoor.mobi), for which I serve the HTML page from the MySQL database in the backend dynamically.
问题:
HTML页面不会被默认浏览器的股票Android和海豚浏览器的渲染。
此问题不镀铬occure,火狐,Safari移动浏览器。
Problem: The html page is not rendered by the default stock browser of Android and Dolphin browser. This problem does NOT occure in chrome, firefox, safari mobile browsers.
要弄清楚这个问题,我也跟着的这些方法的:
To figure out the problem, I followed these approaches:
- 使用的Adobe阴影做的远程检查的HTML页面,这并没有太大的帮助监守我没能看到任何错误的内容载入的
- 假设使用Javascript / jQuery的冲突是一个问题,我试图消除所有从服务器(而不是静态)动态提供链接的js文件,然后将HTML页面渲染了但没有应用的风格。
我试图寻找,发现这个链接,但它没有帮助:
<一href=\"http://stackoverflow.com/questions/9142997/android-html-from-android-assets-in-webview-css-not-loading-in-ics\">Android - 从HTML中的WebView android_assets,CSS在不加载ICS
I tried searching and found this link but it's not helpful: Android - html from android_assets in WebView, CSS not loading in ICS
请帮我出这一点。
推荐答案
围绕问题挖掘更多的之后,我发现,问题的主要原因是,从服务器Uncom pressed格式发送内容
键,因为其中的Android ICS的默认和海豚浏览器都无法正常渲染。
After digging more around Problem, I found that main cause for problem was, content being sent in Uncompressed format from Server
and because of which Android ICS's default and Dolphin Browser are not able to render it properly.
下面就是我刚才提到的问题,确切原因的链接。
<一href=\"http://stackoverflow.com/questions/11726774/enabling-data-com$p$pssion-for-apache2-fastcgi-setup\">Enabling数据通信pression为的Apache2 + FastCGI的设置
Here is the link where i have mentioned exact cause of problem. Enabling data compression for Apache2 + FastCGI setup
感谢
这篇关于CSS加载问题与Android ICS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!