如果IE不存在,我们可以使用哪些css,js或html功能目前还没有真正可用?

时间:2021-10-14 17:33:38

In a world where IE didn't exist, what things would be easier, less hacky, less buggy and generally more used.

在IE不存在的世界中,什么东西会更容易,更少hacky,更少bug,通常更多使用。

What could the internet have been if all features were available cross browser?

如果跨浏览器可以获得所有功能,那么互联网有什么用呢?

List one point per post.

列出每个帖子一个点。

This is community wiki, so feel free to amend the question/answers for clarity.

这是社区维基,所以请随时修改问题/答案以便清楚。

8 个解决方案

#1


9  

1) :before and :after psuedo elements.

1):之前和之后:psuedo元素。

2) 'content' attribute.

2)'内容'属性。

3) :hover on any element (not just anchors).

3):悬停在任何元素上(不仅仅是锚点)。

#2


7  

Better adoption of PNG due to support in earlier versions of IE.

由于早期版本的IE支持,更好地采用PNG。

#3


4  

"In a world where IE didn't exist, what things would be easier?"

“在IE不存在的世界里,哪些事情会更容易?”

Web Programming

#4


2  

Just easier? Anything involving floats, or box-models

更容易?任何涉及花车或箱型的东西

Possible? display:table and :focus would be nice but the real biggie would be min and max dimensions which just worked.

可能?显示:表格和:焦点会很好,但真正的biggie将是最小和最大尺寸,只是工作。

#5


2  

Canvas... they've just decided to skip it in ie8 too

画布......他们刚刚决定在ie8中跳过它

#6


1  

Lets starts with javascript EcmaScript: today you have to make one version for Mozilla/Opera/Safari and another version for IE.

让我们从javascript开始EcmaScript:今天你必须为Mozilla / Opera / Safari和IE的另一个版本制作一个版本。

Both Opera and Firefox support some CSS3. Guess what: IE don't. What about the CSS2-standard? No, IE still not ready to use that one. I'm not sure about how much of the CSS1-standard IE7 support, but I do know that IE6 didn't support it completely.

Opera和Firefox都支持一些CSS3。猜猜看:IE没有。 CSS2标准怎么样?不,IE还没有准备好使用那个。我不确定CSS1标准IE7支持多少,但我知道IE6并不完全支持它。

Today you can't use xhtml properly: IE doesnt suppert documents beeing served as xhtml..

今天你不能正确使用xhtml:IE不支持文件beeing担任xhtml ..

A solution many webdevelopers does today, is to create a lot of nested <div>-tags to force IE to display the page properly. Most modern browser (not IE6) support css-rules on the 'html' and 'body'-tag, and therefor div-mania can be avoided. (Well; div-mania can be avoided on IE today, so this last point isn't that relevant)

许多webdeveloper今天所做的解决方案是创建大量嵌套

-tags以强制IE正确显示页面。大多数现代浏览器(不是IE6)支持'html'和'body'标签上的css规则,因此可以避免div*。 (好吧;今天在IE上可以避免div*,所以最后一点并不相关)

PNG-pictures is also an issue, as Rich Bradshaw pointed out.

正如Rich Bradshaw指出的那样,PNG图片也是一个问题。

#7


1  

Standard box model, of course.

当然是标准箱型号。

And we would get rid of colorful scrollbars, VBScript (I saw page on the Web scripted only with that!), hacks with VML, and so on.

我们将摆脱色彩缤纷的滚动条,VBScript(我在Web上看到的页面仅用脚本编写!),使用VML进行黑客攻击等等。

#8


1  

IE is the bane of my life. Its a pain in the back-side having to work around all the unsupported features and the misinterpretation it does.

IE是我生命中的祸根。它背后的痛苦不得不解决所有不支持的功能和它所做的误解。

IE's like my mother, it doesn't hear what you ACTUALLY said, it hears what it THOUGHT you said.

IE就像我的母亲一样,它听不到你的实际说法,它听到了你说的话。

You end up having to practise some bizzarre reverse psychology on it until it does what you want it to.

你最终不得不在它上面练习一些bizzarre反向心理学,直到它达到你想要的效果。

#1


9  

1) :before and :after psuedo elements.

1):之前和之后:psuedo元素。

2) 'content' attribute.

2)'内容'属性。

3) :hover on any element (not just anchors).

3):悬停在任何元素上(不仅仅是锚点)。

#2


7  

Better adoption of PNG due to support in earlier versions of IE.

由于早期版本的IE支持,更好地采用PNG。

#3


4  

"In a world where IE didn't exist, what things would be easier?"

“在IE不存在的世界里,哪些事情会更容易?”

Web Programming

#4


2  

Just easier? Anything involving floats, or box-models

更容易?任何涉及花车或箱型的东西

Possible? display:table and :focus would be nice but the real biggie would be min and max dimensions which just worked.

可能?显示:表格和:焦点会很好,但真正的biggie将是最小和最大尺寸,只是工作。

#5


2  

Canvas... they've just decided to skip it in ie8 too

画布......他们刚刚决定在ie8中跳过它

#6


1  

Lets starts with javascript EcmaScript: today you have to make one version for Mozilla/Opera/Safari and another version for IE.

让我们从javascript开始EcmaScript:今天你必须为Mozilla / Opera / Safari和IE的另一个版本制作一个版本。

Both Opera and Firefox support some CSS3. Guess what: IE don't. What about the CSS2-standard? No, IE still not ready to use that one. I'm not sure about how much of the CSS1-standard IE7 support, but I do know that IE6 didn't support it completely.

Opera和Firefox都支持一些CSS3。猜猜看:IE没有。 CSS2标准怎么样?不,IE还没有准备好使用那个。我不确定CSS1标准IE7支持多少,但我知道IE6并不完全支持它。

Today you can't use xhtml properly: IE doesnt suppert documents beeing served as xhtml..

今天你不能正确使用xhtml:IE不支持文件beeing担任xhtml ..

A solution many webdevelopers does today, is to create a lot of nested <div>-tags to force IE to display the page properly. Most modern browser (not IE6) support css-rules on the 'html' and 'body'-tag, and therefor div-mania can be avoided. (Well; div-mania can be avoided on IE today, so this last point isn't that relevant)

许多webdeveloper今天所做的解决方案是创建大量嵌套

-tags以强制IE正确显示页面。大多数现代浏览器(不是IE6)支持'html'和'body'标签上的css规则,因此可以避免div*。 (好吧;今天在IE上可以避免div*,所以最后一点并不相关)

PNG-pictures is also an issue, as Rich Bradshaw pointed out.

正如Rich Bradshaw指出的那样,PNG图片也是一个问题。

#7


1  

Standard box model, of course.

当然是标准箱型号。

And we would get rid of colorful scrollbars, VBScript (I saw page on the Web scripted only with that!), hacks with VML, and so on.

我们将摆脱色彩缤纷的滚动条,VBScript(我在Web上看到的页面仅用脚本编写!),使用VML进行黑客攻击等等。

#8


1  

IE is the bane of my life. Its a pain in the back-side having to work around all the unsupported features and the misinterpretation it does.

IE是我生命中的祸根。它背后的痛苦不得不解决所有不支持的功能和它所做的误解。

IE's like my mother, it doesn't hear what you ACTUALLY said, it hears what it THOUGHT you said.

IE就像我的母亲一样,它听不到你的实际说法,它听到了你说的话。

You end up having to practise some bizzarre reverse psychology on it until it does what you want it to.

你最终不得不在它上面练习一些bizzarre反向心理学,直到它达到你想要的效果。