本文介绍了“页面对齐"问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以解决我下面提到的问题吗?

我建立了一个网页,但遇到页面对齐"问题.
显示页面时,整个布局都位于屏幕的左侧.
虽然它应该在中心.

| @@@@@@@ ..... |
| @@@@@@@ ..... |
| @@@@@@@ ..... |
| ........... |
| ........... |
| ........... |

我想以下面的方式,当页面调整大小时,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

推荐答案


<center>
your existing content goes here
</center>


这篇关于“页面对齐"问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-28 23:06
查看更多