我想在html中拆分三个div.我的代码如下:
<div id="right" style="width: 20%; float: left;">
some text
</div>
<div id="leftAndCenter" style="width: 70%; float: right;">
<div id="center" style="width: 45%; float: left;">
some other text
</div>
<div id="right" style="width: 45%; float: right;">
and the last text
</div>
</div>
Run Code Online (Sandbox Code Playgroud)
有一些较长的文字版本在这里.我希望右边的文字以"左"和"中"的相同高度开始,我该怎么做?
| 归档时间: |
|
| 查看次数: |
727 次 |
| 最近记录: |