I have CSS boxes of variable height set to float left inside a bigger div.
Now I would like to add a title where the text appears vertically (rotated 90 degrees) on the left side of the box, like shown on the link below(sorry can’t post images yet).
http://imageshack.us/photo/my-images/259/cssquestion.png
I have tried everything but so far with no luck. I assume I need to make two div (‘title’ and ‘content’) inside a ‘wrapper’ div but whatever position settings I use on the title div appears totally wrong.
Is this possible at all in CSS or will I have to use some JS to produce align the heights of ‘title’ and ‘content’ dynamically?
Thanks,
Nicolas
http://jsfiddle.net/3r2Sk/1/
The primary code you need is
Ran into various issues with positioning, rotating elements can be finicky. Most of the position and widths and heights will have to be adapted to your particular situation. It would be best to start from the ground up and just copy the transform code. Use the above link as a reference.