如何设置div标签的中心对齐方式 [英] How to set center alignment for div tag

查看:77
本文介绍了如何设置div标签的中心对齐方式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我有div标签表。如何在div标签的中心设置表格。



谢谢

Hi,

I have table in div tag. How to set the table in center of the div tag.

Thanks

推荐答案

how-to-position-a-table-at- the-center-of-div-horizentally-vertical [ ^ ]



http://forums.asp.net/t/1710676.aspx [ ^ ]



希望它能为您提供帮助
how-to-position-a-table-at-the-center-of-div-horizentally-vertically[^]

http://forums.asp.net/t/1710676.aspx[^]

Hope it will help you


你可以在这里访问....





http://stackoverflow.com/questions/953918/how-to-align-a-div-to-中间人 - 最PA的ge [ ^ ]





按照这种方式....





you can visit here....


http://stackoverflow.com/questions/953918/how-to-align-a-div-to-the-middle-of-the-page[^]

or
follow this way....


<pre lang="xml">
<div align="center">
<div>
(this div is centered)
</div>
</div>







这篇关于如何设置div标签的中心对齐方式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆