This is as close as I’ve gotten. In IE 9, the row header is positioned wrong. In IE 8, the text won’t rotate the right direction (-90 vs 90 degrees). In Chrome, I can’t resize the column width. I’d settle for getting this right in IE 9 for now. What do I need to do to make the rotated row headers position correctly in the row?
<html>
<head>
<style type="text/css">
.TableGroupHeader_cell
{
width: 3em;
height: 20em;
border: 2px solid #DDB575;
}
.TableGroupHeader_text
{
border : 1px solid black;
}
.TableGroupHeader_div
{
writing-mode:tb-rl;
-webkit-transform:rotate(270deg);
-moz-transform:rotate(270deg);
-o-transform: rotate(270deg);
text-align: center;
font-weight: bold;
font-size: large;
border: 1px solid red;
width: 10em;
height: 2.5em;
}
</style>
<!--[if lt IE 9]>
<style>
.TableGroupHeader_div
{
writing-mode:tb-rl;
-ms-transform: rotate(10deg);
text-align: center;
font-weight: bold;
font-size: large;
border: 1px solid green;
width: 2.5em;
height: 10em;
}
</style>
<![endif]-->
<!--[if IE 9]>
<style>
.TableGroupHeader_div
{
writing-mode:tb-rl;
-ms-transform: rotate(180deg);
text-align: center;
font-weight: bold;
font-size: large;
border: 1px solid green;
width: 2.5em;
height: 10em;
}
</style>
<![endif]-->
<title>Test</title>
</head>
<body>
<table>
<tr class="TableDataRow">
<td class="TableGroupHeader_cell">
<div class="TableGroupHeader_div">
<label class="TableGroupHeader_text">Row Header</label>
</div>
</td>
</tr>
</table>
</body>
</html>
I don’t have many versions of Explorer at hand, but this code works so far in this browsers:
That code is yours with few extras, plus I removed all the comments, so no handling of explorer versions. And I separated the rules to make it more clear for me, I hope that is not a problem.
The main changes are to set the label as a block component and apply the filter property to the object.
You can read a about that here:
Bye