100% height block with vertical text

后端 未结 4 1802
难免孤独
难免孤独 2020-12-13 07:55

I have a block of a variable height in which I want to put another block with 100% height and vertical text (bottom-to-top direction) and stack it to the left side of the ou

4条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-13 08:08

    The best I could come up with is this: http://jsfiddle.net/EwgtT/

    The variable height of block1 won't be a problem, but the variable height of your message is; it will always start at the bottom.

    Edit: Updated, so it works well in FF and IE: http://jsfiddle.net/EwgtT/2/

提交回复
热议问题