The following works fine for my purposes, but I don’t know how to reduce the horizontal space between the vertical text displays.
Any ideas? I commented my attempts thus far.
And, ideally, I would like to align the vertical text either at the top or bottom.
[code]
<html>
<head>
<title>Rotated Text</title>
<style type=”text/css”>
/* From: http://www.kavoir.com/2009/08/css-rotate-text-image-elements-by-90-180-or-270-degrees.html */
#rotate span {
/* for firefox, safari, chrome, etc. */
-webkit-transform: rotate(-90deg);
-moz-transform: rotate(-90deg);
/* for ie filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=3); */
filter: flipv();
/* following does not seem to have any effect */
/*
width:1.5em;
padding:0px;
margin:0px;
*/
border:1px solid blue; /* for demonstration purposes */
}
</style>
</head>
<body>
<h1>Rotated Text Example Test</h1>
<p>Regular text<p>
<div id=”rotate”>
<span>Rotated Text</span>
<span>More Rotated Text</span>
<span>Even More Rotated Text</span>
</div>
</body>
</html>