简体   繁体   English

CSS宽度,在Firefox上使用iexplorer的高度

[英]css width, height for iexplorer working on firefox

in my style.css i have for example this, and it work fine in iexplorer but when i move to firefox the style is lost and i got the error shown below. 在我的style.css中,例如,它在iexplorer中工作正常,但是当我移动到firefox时,样式丢失了,并且出现了以下错误。

#header {
 width: 900px;
 position: relative;
 height: 170px;
 padding: 0;
 font-size: 14px;
 color: #000;
}

ERROR: from error console in firefox (sorry my local conf is in spanish i dont know how to translate it properly). 错误:来自Firefox的错误控制台(很抱歉,我的本地conf是西班牙语的,我不知道如何正确翻译)。

Advertencia: Error al interpretar el valor para 'width'. 广告:错误解释解释为“宽度”。 Declaración rechazada. Declaraciónrechazada。 Archivo de origen: http://localhost:8080/cancilleria2008/css/estilos.css Línea: 1990 原始档案: http:// localhost:8080 / cancilleria2008 / css / estilos.css利内尼亚 :1990

If somebody can explain me how to correct this i would really apreciate. 如果有人可以向我解释如何纠正此问题,我将不胜感激。

This css code appears to be fine, at least for me. 至少对于我来说,这段CSS代码似乎不错。 Are you sure that the error is in this piece of your stylesheet? 您确定该样式表中存在错误吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM