没有doctype的IE中的问题

没有doctype的IE中的问题

本文介绍了没有doctype的IE中的问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个固定栏的具体问题。
我会使用这个固定栏,但我不能使用doctype
IE中的这个栏有问题。例如,滚动条不固定,移动或工具提示的大小发生变化。
实际上,我的项目所有者不允许我使用doctype

I have a specific problem by a fixed bar.I would to use this fixedbar but I sould n't use doctypeThis bar in IE have problems. for example bar by scroll is not fixed and move or size of tooltips changed.In fact, my project owner don't let me to use of doctype

编辑:
大家好,这是对的。
但异常的是,我必须在这个项目中启动html文件html tag!
滚动更改时帮助我修复此栏是件好事。
其他问题并不重要......

Hi to all , that is right.but exceptionally, I must start html file whth "html tag" in this project!It is good that you help me to fixed this bar when scroll change.Other problems isn't important….

推荐答案

如果你指的是IE6(是吗?),然后会出现一个问题,可能与使用css样式 position:fixed; 有关,因为IE6不支持这个css属性。

If you are referring to IE6 (are you??), then there would be an issue that is possibly related to the use of the css style position:fixed; because IE6 does not support this css property.

但是,如果作者在jQuery中完成此操作,可以预期可能会为此实现修复。

However, if the author has done this in jQuery, one would expect there to possibly be a fix implemented for this.

关于主题对于doc类型,你说IE没有doc类型存在问题。通常,在没有声明doc类型的情况下,许多浏览器会出现问题。虽然许多将恢复为默认的文档类型,但基于您的代码(HTML,XHTML,HTML 5.0等)指定您的文档类型是很常见的(也是非常好的)。

Onto the topic of doc types, you say that there is an issue in IE without doc types. Generally there would be a problem in many browsers without declaring a doc type. While many will revert to a default doc type, it is common (and very good) practice to specify your doc type based on your code (HTML, XHTML, HTML 5.0 etc etc).

亲切的问候,
Simon

Kind regards,Simon

这篇关于没有doctype的IE中的问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-22 16:17