| <!DOCTYPE html> | |
| <style> | |
| div.test { font-family: ahem; border: solid; width: 100px; margin: 8px 0; padding-left: 100px; } | |
| div.test div { display: inline-block; background-color: blue; width: 100px; height: 100px; } | |
| </style> | |
| <div class="test" style="height: 120px;"> | |
| <div style="margin-top: 17px;"></div> | |
| </div> | |
| <div class="test" style="height: 150px;"> | |
| <div style="margin-top: 47px;"></div> | |
| </div> | |
| <div class="test" style="height: 160px;"> | |
| <div style="margin-top: 50px;"></div> | |
| </div> |