OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <style> |
| 3 body { |
| 4 -webkit-writing-mode: vertical-rl; |
| 5 } |
| 6 .multicol { |
| 7 height: 330px; |
| 8 width: 200px; |
| 9 border: 3px solid #bbb; |
| 10 line-height: 20px; |
| 11 } |
| 12 .left, .right { |
| 13 padding: 5px 5px; |
| 14 background-color: steelblue; |
| 15 } |
| 16 .float_content { |
| 17 background-color: skyblue; |
| 18 } |
| 19 .left { float: left; } |
| 20 .right { float: right; } |
| 21 .column1, .column2 { |
| 22 float: left; |
| 23 height: 160px; |
| 24 } |
| 25 .column1 { |
| 26 margin-bottom: 10px; |
| 27 } |
| 28 .column1 > .left, .column1 > .right { |
| 29 width: 110px; |
| 30 } |
| 31 .column2 > .left, .column2 > .right { |
| 32 padding-right: 0; |
| 33 } |
| 34 </style> |
| 35 <div class="multicol"> |
| 36 <div class="column1"> |
| 37 First<br> |
| 38 First<br> |
| 39 First<br> |
| 40 First<br> |
| 41 <div class="left"> |
| 42 <span class="float_content"> |
| 43 left1<br> |
| 44 left2<br> |
| 45 left3<br> |
| 46 left4<br> |
| 47 left5<br> |
| 48 </span> |
| 49 </div> |
| 50 <div class="right"> |
| 51 <span class="float_content"> |
| 52 right1<br> |
| 53 right2<br> |
| 54 right3<br> |
| 55 right4<br> |
| 56 right5<br> |
| 57 </span> |
| 58 </div> |
| 59 First<br> |
| 60 First<br> |
| 61 First<br> |
| 62 First<br> |
| 63 First<br> |
| 64 First<br> |
| 65 </div> |
| 66 <div class="column2"> |
| 67 <div class="left"> |
| 68 <span class="float_content"> |
| 69 left6<br> |
| 70 left7<br> |
| 71 </span> |
| 72 </div> |
| 73 <div class="right"> |
| 74 <span class="float_content"> |
| 75 right6<br> |
| 76 right7<br> |
| 77 </span> |
| 78 </div> |
| 79 Second<br> |
| 80 Second<br> |
| 81 Second<br> |
| 82 Second<br> |
| 83 Second<br> |
| 84 Second<br> |
| 85 Second<br> |
| 86 Second<br> |
| 87 Second<br> |
| 88 Second<br> |
| 89 </div> |
| 90 </div> |
OLD | NEW |