Click here to Skip to main content
11,926,982 members (49,306 online)
Rate this:
Please Sign up or sign in to vote.
See more: Javascript CSS HTML PHP
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,


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


Compatibility can be coded.. However, my code won't work. Any help?
Posted 24-Apr-13 21:29pm
Edited 25-Apr-13 3:56am
Prasad Khandekar 25-Apr-13 2:39am
Insufficient information. From the description it seems that you need to change the CSS to achieve what you want. Please refer to this documentation (!_templates).
Christopher Smit 25-Apr-13 2:42am
It is something to do with the compatibility view of IE. Can you tell the browser to run in compatibility mode when the page loads?
Prasad Khandekar 25-Apr-13 2:51am
Please have a look at this documentation (

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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" />

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web02 | 2.8.151126.1 | Last Updated 25 Apr 2013
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100