| OLD | NEW |
| 1 <html> | 1 <html> |
| 2 <head> | 2 <head> |
| 3 <style type="text/css"> | 3 <style type="text/css"> |
| 4 body {text-align:center;} | 4 body {text-align:center; overflow: hidden;} |
| 5 body * { | 5 body * { |
| 6 width: 80%; | 6 width: 80%; |
| 7 display: inline-block; | 7 display: inline-block; |
| 8 } | 8 } |
| 9 body > div {background: blue;} | 9 body > div {background: blue;} |
| 10 body > div > div {background: red;} | 10 body > div > div {background: red;} |
| 11 </style> | 11 </style> |
| 12 </head> | 12 </head> |
| 13 <body> | 13 <body> |
| 14 <div style="height:30px;position:relative;padding-bottom:200px;"
> | 14 <div style="height:30px;position:relative;padding-bottom:200px;"
> |
| 15 <div style="height: 100%;position:absolute;"> | 15 <div style="height: 100%;position:absolute;"> |
| 16 <img src="resources/show-shoes-vs-pie.png" style
="height: 100%;"> | 16 <img src="resources/show-shoes-vs-pie.png" style
="height: 100%;"> |
| 17 </div> | 17 </div> |
| 18 </div> | 18 </div> |
| 19 </body> | 19 </body> |
| 20 </html> | 20 </html> |
| OLD | NEW |