X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Centre website - IE 8 not displaying. (https://forum.x-cart.com/showthread.php?t=50706)

JeanB 11-13-2009 06:28 AM

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

JeanB 11-13-2009 07:00 AM

Re: Centre website - IE 8 not displaying.
 
Ah, nevermind - I've sorted it.

I read that a couple of people had a similar issue, so they restored the original main.css file. I did this and edited the CSS back to this and it's working...?

FTI 11-14-2009 08:23 AM

Re: Centre website - IE 8 not displaying.
 
I have the same problem. I've made so many modifications to main.css, should I start again? 8O

JeanB 11-16-2009 12:10 AM

Re: Centre website - IE 8 not displaying.
 
I hope not! I wonder if someone might be able to shed some light on this?

I'd hate to think that I, or anyone else, would do a great deal of work, for it to happen again?

I think I'll keep a back-up of the css, just incase! 8O

yages 11-17-2009 03:12 PM

Re: Centre website - IE 8 not displaying.
 
Have the same problem with 4.3.0
Can not get ie to center pages

FTI 11-18-2009 07:00 AM

Re: Centre website - IE 8 not displaying.
 
Can someone please give a little hint on that problem? :roll:

JeanB 11-25-2009 01:31 AM

Re: Centre website - IE 8 not displaying.
 
Ok - So the IE8 issue is a bit of a pain, but it is sorted with a restore of the original file.

However - I've just been shown the site in IE6 and it's even worse...!

In IE6, the site does not display the header, it does not display the seachbar/speedbar. It is also aligned left. I also have a drop-shadow around the entire site - but the side shadow isn't appearing.

Does anybody know what might cause this, but more importantly, where I might change it?

I realise that IE 6 is a bit out-of-date, but there are still alot of people using it, so I would like the site to work there.

Any pointers would be greatly appreciated!

Thanks,
JeanB

JeanB 12-03-2009 12:06 AM

Re: Centre website - IE 8 not displaying.
 
Thursday morning bump? :)


All times are GMT -8. The time now is 12:43 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.