网站未在所有计算机上正确对齐。 [英] Website not aligned correctly on all computers.

查看:96
本文介绍了网站未在所有计算机上正确对齐。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们有一个用Joomla编写的网站。该页面在我们的主计算机上运行良好。但是当我们开始在不同的计算机上查看页面时,整个页面都对齐到页面的左侧。为什么是这样?我们可以在页面代码中更改哪些页面集中在每个页面上?



提前致谢,

Chris



更新:



好​​的,我看到当打开兼容性视图时,网站显示正确..你可以编码网站的兼容性吗?



更新:



兼容性可编码..但是,我的代码不行。任何帮助?

We have a website written in Joomla. The page is working great on our main computer. But when we start to view the page on different computers, the entire page is aligned to the left of the page. Why is this? what can we change in the code for the page to be centralized on every page??

Thanks in advance,
Chris

UPDATE :

Ok, I have seen that when compatibility view is turned on, the site displays correctly.. Can you code compatibility into a website?

UPDATE :

Compatibility can be coded.. However, my code won''t work. Any help?

推荐答案

这是一个不同浏览器的问题,而不是不同的计算机!在主计算机上安装一组常用浏览器(IE,Firefox,Opera,Safari)。对于Internet Explorer,您可以在激活开发人员工具时模拟旧版本( F12 )。

使用特殊类型的注释,可以包含某些Internet Explorer版本的额外样式表,例如

That''s rather an issue of different browsers than of different computers! Install set of common browsers (IE, Firefox, Opera, Safari) on your "main" computer. For Internet Explorer, you can have it emulate older versions when you activate the developer tools (F12).
With a special type of comments, you can include extra style sheets for some Internet Explorer versions, e.g.
<!--[if IE 7]>
<link rel="stylesheet" type="text/css" media="all" href="css/ie7.css" />
<![endif]-->

这篇关于网站未在所有计算机上正确对齐。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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