“页面对齐"问题 [英] problem of "page alignment"
问题描述
有人可以解决我下面提到的问题吗?
我建立了一个网页,但遇到页面对齐"问题.
显示页面时,整个布局都位于屏幕的左侧.
虽然它应该在中心.
| @@@@@@@ ..... |
| @@@@@@@ ..... |
| @@@@@@@ ..... |
| ........... |
| ........... |
| ........... |
我想以下面的方式,当页面调整大小时,bcoz,整个页面的内容都保留在页面的中心.
| ... @@@@@@@ ... |
| ... @@@@@@@ ... |
| ... @@@@@@@ ... |
| ............ |
| ............ |
| ............ |
谢谢
Shahnawaz
Can anybody solve my this below mentioned problem?
I build One web page, I have problem of "page alignment".
When page is dispalyed, whole layout reside on left side of the screen.
While it should be on the center.
|@@@@@@.....|
|@@@@@@.....|
|@@@@@@.....|
|...........|
|...........|
|...........|
I want in below way , bcoz when page resize,content of whole page remains in the center of page.
|...@@@@@@...|
|...@@@@@@...|
|...@@@@@@...|
|............|
|............|
|............|
Thanks
Shahnawaz
推荐答案
不知道您尝试了什么,但是在最上面的div/table/panel标签中使用align="center"
应该可以.
Don''t know what you had tried but using align="center"
in the topmost div/table/panel tag should work.
有两种方法可以执行此操作,但最简单的方法是:
There are a couple of ways you can do this, but the easiest is to do this:
<center>
your existing content goes here
</center>
这篇关于“页面对齐"问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!