如何在所有浏览器中居中页面 [英] How to center my pages in all browsers

查看:151
本文介绍了如何在所有浏览器中居中页面的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在Google Chrome浏览器中开发了我的项目。当我在FF或IE中运行项目时,它的

外观不居中,并且屏幕的右侧或左侧隐藏了1/4的页面。

我必须使用ctrl键并滚动鼠标以适应页面。

如何解决这个问题?

I have developed my project in google chrome browser. When I run the project in FF or IE , its
appearance is not centered and 1/4 of the page is hidden on the right or left side of the screen.
I have to use ctrl key and roll my mouse to fit in the page.
How to solve this problem?

推荐答案

试试这个: css-for-developers-horizo​​ntal-layout [ ^ ]


这篇关于如何在所有浏览器中居中页面的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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