View Single Post
  #1  
Old 11-13-2009, 06:28 AM
  JeanB's Avatar 
JeanB JeanB is offline
 

eXpert
  
Join Date: Oct 2009
Location: Worcestershire, UK
Posts: 217
 

Default Centre website - IE not displaying. *Updated*

Hi All,

I've been a lurker for a little bit, just soaking up all of the information available on here! Thanks so much!

However, there's an issue that I can't find the solution to and wondered if you might be able to help me.


I wish to centre my website and give it a fixed width.



I have defined the width as 966px, which has worked fine.

I have also centred the website, as follows:


html,body {
height: 100%;
width: 966px;
background-color: #045C58;
margin: 0 auto 0 auto;
padding: 0px;
font-family: verdana, arial, helvetica, sans-serif;
font-size: 11px;
min-width: 780px;
border: 0px none;


#page-container {
min-height: 100%;
position: relative;
background-color: #ffffff;
width:966px;
margin:0 auto 0 auto;
border: 0 px none;


This has worked fine for Firefox 3.5 and all is looking good, but only on the customer/shop side. The admin section has not moved. Also, in IE 8, the website and admin section are still aligned left!

I can't find anything that points to the alignment of the whole site, other than the page container, and unfortunately a search on here didn't come up with much.


Any tips are much appreciated!

Many thanks,

JeanB
__________________
4.2.3
X-Cart Gold
BCSE Address Book | XCartMods QuickFind | X-RMA | X-Offers
-------[installed]----------------------[installed]--------------[installed]----[installed]--



5: in development

Last edited by JeanB : 11-25-2009 at 01:27 AM. Reason: Further Issues
Reply With Quote