我怎样才能here和and herelorem ipsums在同一条线上获得并且在右边?请参阅以下内容:
Lorem Ipsum etc........here
blah.......................
blah blah..................
blah.......................
lorem ipsums.......and here
Run Code Online (Sandbox Code Playgroud)
Gar*_*ler 31
<div style="position: relative; width: 250px;">
<div style="position: absolute; top: 0; right: 0; width: 100px; text-align:right;">
here
</div>
<div style="position: absolute; bottom: 0; right: 0; width: 100px; text-align:right;">
and here
</div>
Lorem Ipsum etc <br />
blah <br />
blah blah <br />
blah <br />
lorem ipsums
</div>Run Code Online (Sandbox Code Playgroud)
虽然您可能需要调整"顶部"和"底部"值,但是非常接近.