Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <style type="text/css"> |
michael@0 | 2 | #descdiv{ |
michael@0 | 3 | overflow: hidden; |
michael@0 | 4 | height: 60px; |
michael@0 | 5 | border: 1px solid red; |
michael@0 | 6 | } |
michael@0 | 7 | #descdiv p{ |
michael@0 | 8 | height:30px; |
michael@0 | 9 | margin:0; |
michael@0 | 10 | /* The shadow of the text will be inside the overflow-hidden but the text it self will not. |
michael@0 | 11 | This causes the text to be drawn even when it's outside of the clip*/ |
michael@0 | 12 | text-shadow: #fff 1px -1px 2px; |
michael@0 | 13 | } |
michael@0 | 14 | |
michael@0 | 15 | </style> |
michael@0 | 16 | |
michael@0 | 17 | <div id="descdiv"> |
michael@0 | 18 | <p class="um_desc"> </p> |
michael@0 | 19 | <p class="um_desc"> </p> |
michael@0 | 20 | <p class="um_desc">sed diam nonummy nibh</p> |
michael@0 | 21 | </div> |
michael@0 | 22 |