开发者

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

开发者 https://www.devze.com 2023-01-09 04:47 出处:网络
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>

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

精彩评论

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