Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/33.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/11.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
iOs 9 uiWebView忽略css内联_Css_Uiwebview_Ios9_Inline - Fatal编程技术网

iOs 9 uiWebView忽略css内联

iOs 9 uiWebView忽略css内联,css,uiwebview,ios9,inline,Css,Uiwebview,Ios9,Inline,我有一个内联CSS,由javascript在绝对定位的元素上设置 它的设定值是:88px uiWebView显示此属性已设置为“样式”面板上的元素,但从视觉上看,它从未应用 对于top属性,该元素有几个其他CSS规则,但所有这些规则都被覆盖 如果我对它们进行注释,只让一条规则应用相同的top属性样式,它就会起作用 有什么想法吗 我的HTML: <ion-content class="has-subheader has-fixed-bottom scroll-content ionic-sc

我有一个内联CSS,由javascript在绝对定位的元素上设置

它的设定值是:88px

uiWebView显示此属性已设置为“样式”面板上的元素,但从视觉上看,它从未应用

对于top属性,该元素有几个其他CSS规则,但所有这些规则都被覆盖

如果我对它们进行注释,只让一条规则应用相同的top属性样式,它就会起作用

有什么想法吗

我的HTML:

<ion-content class="has-subheader has-fixed-bottom scroll-content ionic-scroll  has-header">
//overriden by inline CSS rule
.platform-ios.platform-cordova:not(.fullscreen) .has-header, .platform-ios.platform-cordova:not(.fullscreen) .bar-subheader {
    top: 44px;
}
//overriden by inline CSS rule
.platform-ios.platform-cordova:not(.fullscreen) .has-subheader {
    top: 108px;
}
//overriden by inline CSS rule
.platform-ios.platform-cordova:not(.fullscreen) .bar-subheader, .platform-ios.platform-cordova:not(.fullscreen) .has-header, .platform-ios.platform-cordova:not(.fullscreen) .tabs-top>.tabs, .platform-ios.platform-cordova:not(.fullscreen) .tabs.tabs-top {
    top: 64px;
}
// with this not commented works
.has-subheader {
    top: 88px;
}
.has-header {
    top: 44px;
}