This worked for me:
- For the container that's rotated (in this case,
<header>
), set its width to a value, like 500px. - Then, set the parent container's margin-top to the same value (500px).
For a full example, I modified your fiddle: http://jsfiddle.net/v6s9H/3/
Extra notes:
For a dynamic width, it would take more work. I would suggest rotating the parent container and positioning it, then doing a float:right on the header with no set width on the header but instead on one of the parent containers. In short, you could do a dynamic width by experimenting with more nested div's.