开发者

Div rotation problem in IE

Actually i have a div i am rotating it using

-moz-transform: rotate(270deg);
    -webkit-transform: rotate(270deg);
    -khtml-transform: rotate(270deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);

in firefox chrome and opera it is fine in case开发者_Go百科 of there is a slight problem when the page loads the div appears straight for some time after that it rotates to specified rotation value


Works for me fine in IE:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
#myDiv {
width:200px;
height:100px;
background-color:#000;
-moz-transform: rotate(270deg);
-webkit-transform: rotate(270deg);
-khtml-transform: rotate(270deg);
filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3);
}
</style>
</head>

<body>
<div id="myDiv">&nbsp;</div>
</body>
</html>

Providing I allow IE to allow ActiveX...

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜