| ||||||||||
| Shopping cart software Solutions for online shops and malls | ||||||||||
| 
 | 
||||||||||
| X-Cart Home | 
Change width, center site | ||||
![]()  | 
	
	
		
			 | 	
	|||
| 
		 | 
	Thread Tools | Search this Thread | 
| 
		 
			 
			#11  
			
			
			
			
		 
		
		
	 | 
|||||||
		
		
  | 
|||||||
| 
	
	
		
        	 Hi, 
		
	
		
		
		
		
			
		
		
		
		
	
		
		
		
	I used your edit for the main.css. The shop now is the width I want but does not center. http://www.cdhsoft.com/shop Any ideas? Regards Carl #4118809622  | 
|||||||
| 
		 
			 
			#12  
			
			
			
			
		 
		
		
	 | 
|||||||||
		
		
  | 
|||||||||
| 
	
	
		
        	 centered for me. 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
		
		
		
	xcart 5.1.2  | 
|||||||||
| 
		 
			 
			#13  
			
			
			
			
		 
		
		
	 | 
|||||||
		
		
  | 
|||||||
| 
	
	
		
        	 On my site or yours? 
		
	
		
		
		
		
			
		
		
		
		
	
		
		
		
	Ok just checked in firefox and works fine. Just seems that IE 8.0 is not displaying correctly Regards Carl  | 
|||||||
| 
		 
			 
			#14  
			
			
			
			
		 
		
		
	 | 
|||||||
		
		
  | 
|||||||
| 
	
	
		
        	 Centered for me as well. 
		
	
		
		
		
		
			
		
		
		
		
	
		
		
		
	If your seeing it not centered in IE, you need to use some statements to use a modified css file for IE. If it doesnt look right in chrome, its due to missing or wrong css/html.  | 
|||||||
| 
		 
			 
			#15  
			
			
			
			
		 
		
		
	 | 
|||||||||
		
		
  | 
|||||||||
| 
	
	
		
        	 now not displaying at all. 
		
	
		
		
		
		
			
				__________________ 
		
		
		
		
	
		
		
		
	xcart 5.1.2  | 
|||||||||
| 
		 
			 
			#16  
			
			
			
			
		 
		
		
	 | 
|||||||
		
		
  | 
|||||||
| 
	
	
		
        	 yeh, changing the skin to the original 
		
	
		
		
		
		
			
		
		
		
		
	
		
		
		
	Once I get the width and centering I want I'll just change the header to match the rest of the site Not live yet so I can tweak a bit Regards Carl  | 
|||||||
| 
		 
			 
			#17  
			
			
			
			
		 
		
		
	 | 
|||||||
		
		
  | 
|||||||
| 
	
	
		
        	 Ok, changed the skin to default and set the css values and IE 8 still shows it aligned left, but firefox shows it centered.  
		
	
		
		
		
		
			
		
		
		
		
	
		
		
		
	Yet it shows my main site pages centered in IE 8 using the same CSS settings Wierd  | 
|||||||
| 
		 
			 
			#18  
			
			
			
			
		 
		
		
	 | 
|||||||
		
		
  | 
|||||||
| 
	
	
		
        	 Quote: 
	
 You need to create a seperate css file for IE.  | 
|||||||
| 
		 
			 
			#19  
			
			
			
			
		 
		
		
	 | 
|||||||||
		
		
  | 
|||||||||
| 
	
	
		
        	 no you don't.  Centering the site with a fixed with is really only a couple of lines of code. 
		
	
		
		
		
		
			I don't understand why you are having trouble with this. I'd take a look at it for you if you like. PM me. 
				__________________ 
		
		
		
		
	
		
		
		
	xcart 5.1.2  | 
|||||||||
| 
		 
			 
			#20  
			
			
			
			
		 
		
		
	 | 
|||||||||
		
		
  | 
|||||||||
| 
	
	
		
        	 Quote: 
	
 Put the width and margin calls in page-container id class not in body class. page-container is the class that wraps around the whole site 
				__________________ 
		
		
		
		
	
		
		
		
	Steve Stoyanov CFLSystems.com Web Development  | 
|||||||||
| 
 | 
|||
| 
 
X-Cart forums © 2001-2020
 
 | 
|||