Can I somehow use CSS to place the block2 in top right corner of block1?
block2
block1
If you can add another wrapping div "block3" you could do something like this.
text1 text2 block2
text1
text2