2013-02-12 48 views
2

我厌倦了试图从html中的表格旋转列文本。如何旋转HTML中的表格中的列文本

这就是我所知道的,它只适用于Chrome和Firefox,但不适用于IE9。 http://contoso2.azurewebsites.net/scores/listscores

我看到这些关于垂直文本的例子。我使用IE9,它看起来不错,我认为他们正在使用像画布,我真的不知道。

http://jsfiddle.net/R4JvP/11/ http://www.ok-soft-gmbh.com/jqGrid/CheckboxesWithVerticalHeaders1.htm

第二个环节就是我感兴趣的节目都在rotation: (-90)deg标题列我怎样才能在所有浏览器实现这一点?

+0

检查此链接了: http://stackoverflow.com/questions/4865167/css3-transform-rotate-in-ie9 应该回答你的问题。 – 2013-02-17 03:30:44

回答

0

你可以使用-ms-transform: rotate(-45deg);

0
-moz-transform: rotate Firefox 4+ 
-webkit-transform: rotate Safari 5+, Chrome 10+ 
-ms-transform: rotate Internet Exlorer 9+ 
transform: rotate