<!DOCTYPE html> | |
<style> | |
.container { | |
font: 20px/1.5 monospace; | |
width: 23.5ch; | |
border: solid 1px; | |
} | |
.float { | |
background: yellow; | |
padding: 0.2em 1ch; | |
line-height: 1.2; | |
float: right; | |
} | |
</style> | |
<div class="container"><div class="float">FLOAT<br>FLOAT</div>abc de fg<br>hij klm<br>nop qrst uvw xyz!</div> |