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 | overflow: hidden; |
michael@0 | 10 | background-color:#fbb; |
michael@0 | 11 | position: absolute; |
michael@0 | 12 | left:0px; |
michael@0 | 13 | top:20px"><div style="padding: 0px 0px 0px 45px;">The bottom border should end with my text (overflow:hidden)</div></div> |
michael@0 | 14 | |
michael@0 | 15 | <div style="border-bottom:5px solid #000; |
michael@0 | 16 | overflow: visible; |
michael@0 | 17 | background-color:#fbb; |
michael@0 | 18 | position: absolute; |
michael@0 | 19 | left:0px; |
michael@0 | 20 | top:60px"><div style="padding: 0px 0px 0px 45px;">The bottom border should end with my text (overflow:visible)</div></div> |
michael@0 | 21 | |
michael@0 | 22 | <div style="border-bottom:5px solid #000; |
michael@0 | 23 | overflow: auto; |
michael@0 | 24 | background-color:#fbb; |
michael@0 | 25 | position: absolute; |
michael@0 | 26 | left:0px; |
michael@0 | 27 | top:100px"><div style="padding: 0px 0px 0px 45px;">The bottom border should end with my text (overflow:auto)</div></div> |
michael@0 | 28 | |
michael@0 | 29 | <div style="border-bottom:5px solid #000; |
michael@0 | 30 | background-color:#fbb; |
michael@0 | 31 | position: absolute; |
michael@0 | 32 | left:0px; |
michael@0 | 33 | top:140px"><div style="padding: 0px 0px 0px 45px;">The bottom border should end with my text (no overflow defined)</div></div> |
michael@0 | 34 | |
michael@0 | 35 | |
michael@0 | 36 | </body> |
michael@0 | 37 | </html> |