1
我在我的网站上有文字旋转45度的区域,但不幸的是,文本的渲染有时会混乱。例如,在Linux上使用FF和chrome看起来相对比较好,但是在windows上的相同浏览器上它看起来很糟糕。但是,IE 9-10呈现完美地旋转文本。有什么方法可以克服这种混乱的文字?旋转时出现文字乱码
下面是一个例子: example
.wrap {height:200px; width:200px; position: absolute; top:100px;left:100px;-webkit-transform: rotate(45deg);-moz-transform: rotate(45deg);-o-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);}.test1 {background: green; width:150px; height:30px; color:white;text-align: center;line-height:30px;font-family:arial; font-size:12px;font-weight:bold;}
附:我无法使用图像替换文字,我需要旋转动态文字。
谢谢
谢谢,但这并不适用于我。文字仍旧混乱在ff和chrome上。 –