Click here to Skip to main content
11,645,893 members (76,978 online)
Rate this: bad
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 20:29pm
Edited 25-Apr-13 2:56am
Prasad Khandekar at 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 at 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 at 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
0 OriginalGriff 628
1 514
2 Sergey Alexandrovich Kryukov 478
3 Afzaal Ahmad Zeeshan 378
4 DamithSL 260
0 OriginalGriff 1,143
1 994
2 Sergey Alexandrovich Kryukov 808
3 Afzaal Ahmad Zeeshan 702
4 DamithSL 691

Advertise | Privacy | Mobile
Web01 | 2.8.150731.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