How do I rotate text in css?

You need to use the CSS3 transform property rotate – see here for which browsers support it and the prefix you need to use. One example for webkit browsers is -webkit-transform: rotate(-90deg); Edit: The question was changed substantially so I have added a demo that works in Chrome/Safari (as I only included the -webkit- CSS prefixed rules). The problem you have is that you do not … Read more