开发者

IE Drawing methods in CSS/Javascript

开发者 https://www.devze.com 2023-01-02 13:42 出处:网络
In <insert non-IE browser here> there is the <canvas> element that allows for doing some fairly advanced drawing. In IE it\'s possible to draw with <div> elements, but that can get p

In <insert non-IE browser here> there is the <canvas> element that allows for doing some fairly advanced drawing. In IE it's possible to draw with <div> elements, but that can get pretty slow if you're doing anything more than a few basic tasks.

Is there anything available in IE 5+, in pure HTML/CSS/Javascript, that can allows for basic drawing? At least the ability to draw pixels. Lines would be nice, but I'm not too greedy.

My Google searches have failed to turn up anything useful, and I strongly suspect I won't find anything, but I figured if anyone would know/it's the fol开发者_StackOverflow社区ks on stack overflow!

Thanks


You can use VML as an alternative. Google Maps uses it to support IE.

http://en.wikipedia.org/wiki/Vector_Markup_Language


Explorer Canvas makes <canvas> available for IE6, 7 and 8.


You can use the explorercanvas library.

0

精彩评论

暂无评论...
验证码 换一张
取 消