我无法在asp.net中设置表的位置. [英] I am unable to set the postion of the table in asp.net.

查看:38
本文介绍了我无法在asp.net中设置表的位置.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的

作为我的问题

即使没有
,我也使用了top和left属性 结果显示给我.

这是代码:

Dear

as My issue

I used top and left attribute even though there is no
result showing to me.

this is code:

<table id="FirstTable" style="border-style: none; border: 0; width: 31%;removed500;removed200;"/>


我想在页面中央对此进行修饰

请帮帮我

谢谢


I want to allign this in centre of the page

Please help me

thank you

推荐答案

使用表属性align ="center".
use table property align="center".


尝试下面的代码

Try below code

<table id="FirstTable" align="Center"></table>



谢谢
Vinod



Thanks
Vinod


您要在其中创建表格的标记的意思是body或div标记.
in which tag you are creating table means in body or div tag.
<div style="text-align:center"> 
<table>...</table>
</div>


或者如果它在body标签中,则设置body标签的中心对齐.
希望对您有帮助.
如果有帮助,请不要忘记将其标记为答案. :)


or if it is in body tag then set center alignment of body tag.
Hope this will help you.
Don''t forget to mark as answer if it helps. :)


这篇关于我无法在asp.net中设置表的位置.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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