Click here to Skip to main content
13,043,877 members (48,924 online)
Rate this:
Please Sign up or sign in to vote.
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 20:29pm
Updated 25-Apr-13 2: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.170713.1 | Last Updated 25 Apr 2013
Copyright © CodeProject, 1999-2017
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