1234567891011121314151617181920 |
- <!DOCTYPE HTML>
- <style>
- body {
- margin: 0;
- }
- .other {
- width: 20px;
- height: 20px;
- background-color: blue;
- display: inline-block;
- }
- #target {
- width: 100px;
- height: 100px;
- background-color: green;
- display: inline-block;
- vertical-align: middle;
- }
- </style>
- <div class="other"></div><div id="target"></div><div class="other"></div>
|