开发者

Cross-browser CSS for left align, right align AND center align on the same line

Similar to this easy one, except how do you get a third text group to 开发者_如何学JAVAshow up dead center, along with one "dead left", and one "dead right"?


<div>
<p style="float: left; width: 33%;">stuff on the left</p>
<p style="float: left; width: 33%; text-align: center">center</p>
<p style="float: right; width: 33%; text-align: right">stuff on the right </p>
</div>
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜