Wed, 31 Dec 2014 07:16:47 +0100
Revert simplistic fix pending revisit of Mozilla integration attempt.
michael@0 | 1 | <html> |
michael@0 | 2 | <head> |
michael@0 | 3 | <title>Width:auto and padding</title> |
michael@0 | 4 | </head> |
michael@0 | 5 | |
michael@0 | 6 | <body> |
michael@0 | 7 | |
michael@0 | 8 | <div style="border-bottom:5px solid #000; |
michael@0 | 9 | padding: 0px 0px 0px 45px; |
michael@0 | 10 | overflow: hidden; |
michael@0 | 11 | background-color:#fbb; |
michael@0 | 12 | position: absolute; |
michael@0 | 13 | left:0px; |
michael@0 | 14 | top:20px"><div>The bottom border should end with my text (overflow:hidden)</div></div> |
michael@0 | 15 | |
michael@0 | 16 | <div style="border-bottom:5px solid #000; |
michael@0 | 17 | padding: 0px 0px 0px 45px; |
michael@0 | 18 | overflow: visible; |
michael@0 | 19 | background-color:#fbb; |
michael@0 | 20 | position: absolute; |
michael@0 | 21 | left:0px; |
michael@0 | 22 | top:60px"><div>The bottom border should end with my text (overflow:visible)</div></div> |
michael@0 | 23 | |
michael@0 | 24 | <div style="border-bottom:5px solid #000; |
michael@0 | 25 | padding: 0px 0px 0px 45px; |
michael@0 | 26 | overflow: auto; |
michael@0 | 27 | background-color:#fbb; |
michael@0 | 28 | position: absolute; |
michael@0 | 29 | left:0px; |
michael@0 | 30 | top:100px"><div>The bottom border should end with my text (overflow:auto)</div></div> |
michael@0 | 31 | |
michael@0 | 32 | <div style="border-bottom:5px solid #000; |
michael@0 | 33 | padding: 0px 0px 0px 45px; |
michael@0 | 34 | background-color:#fbb; |
michael@0 | 35 | position: absolute; |
michael@0 | 36 | left:0px; |
michael@0 | 37 | top:140px"><div>The bottom border should end with my text (no overflow defined)</div></div> |
michael@0 | 38 | |
michael@0 | 39 | |
michael@0 | 40 | </body> |
michael@0 | 41 | </html> |