Click here to Skip to main content
Rate this: bad
good
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,
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?
Posted 24-Apr-13 21:29pm
Edited 25-Apr-13 3:56am
v3
Comments
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 (http://docs.joomla.org/Introduction_to_Joomla!_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 (http://msdn.microsoft.com/en-us/library/jj676915%28v=vs.85%29.aspx).

1 solution

Rate this: bad
good
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" />
<![endif]-->
  Permalink  

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

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 575
1 Kornfeld Eliyahu Peter 409
2 Maciej Los 369
3 DamithSL 196
4 OriginalGriff 188
0 OriginalGriff 6,353
1 DamithSL 4,854
2 Maciej Los 4,476
3 Kornfeld Eliyahu Peter 4,058
4 Sergey Alexandrovich Kryukov 3,917


Advertise | Privacy | Mobile
Web04 | 2.8.141220.1 | Last Updated 25 Apr 2013
Copyright © CodeProject, 1999-2014
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