Warning: file_get_contents(/data/phpspider/zhask/data//catemap/9/extjs/3.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
Javascript IE8不支持extjs4中的斜体标记_Javascript_Extjs_Extjs4_Extjs4.1_Extjs3 - Fatal编程技术网

Javascript IE8不支持extjs4中的斜体标记

Javascript IE8不支持extjs4中的斜体标记,javascript,extjs,extjs4,extjs4.1,extjs3,Javascript,Extjs,Extjs4,Extjs4.1,Extjs3,我想把我的字体改成斜体。它在除IE8之外的所有浏览器中都可以正常工作。 这个问题有解决方案吗? 以下是JSFDLL: { xtype: 'text', padding: '64 0 0 0', text: "Logged in as:", textAlign:'left', style : "color:#

我想把我的字体改成斜体。它在除IE8之外的所有浏览器中都可以正常工作。 这个问题有解决方案吗? 以下是JSFDLL:

            {
                xtype: 'text',
                padding: '64 0 0 0',    
                text: "Logged in as:",
                textAlign:'left',
                style : "color:#3E546B;font-style:italic;font-size: 11px;",
                width: 140
            }

我认为您真正需要的不是文本,而是显示字段

这在IE、Chrome和FF中正常工作:

{
    xtype: 'displayfield',
    padding: '64 0 0 0', 
    fieldLabel:  'Logged in as:',                  
    value: 'Lucas',
    textAlign:'left',
    labelCls: 'ital',
    width: 140
}
看看它在jsfiddle.net中的外观: