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)
-   -   image not showing in IE8 (https://forum.x-cart.com/showthread.php?t=52906)

beetlejuice 03-19-2010 03:02 PM

image not showing in IE8
 
This won't be another IE8 rant or will it? :evil:

Still fast tracking myself in CSS as all the other sites have done have been in the "old" table versions.

I can't seem to get a background image showing up for page-container2 in 4.3X.
Shows perfectly as usual in the Fox.

Code:

#page-container2 {
  background: url(images/custom/tablebg.jpg) no-repeat;
}


The very next line is content-container and the image appears fine in both browsers

Code:

#content-container {
    background: url(images/custom/mwwin.jpg) no-repeat;
  padding-bottom: 100px;
  margin-top: 130px;
}


Can anyone explain how this is caused? Surely not padding nd margin tags making the difference in IE?

thanks

beetlejuice 03-19-2010 04:36 PM

Re: image not showing in IE8
 
Ok getting somewhere albeit painfully slow.

I moved the background image from page-container to center and is now showing in both browsers except it appears IE8 is ignoring the margin-top reference below

Code:

#center {
    background: url(images/custom/tablebg.jpg) no-repeat;
    float: left;
    position: relative;
    width: 50%;
    left: 50%;
    margin-top: 409px;


Anyone have a clue how to get IE to move the image down 409px?

EDIT......Cleared cache and all sweet.

Thanks


All times are GMT -8. The time now is 07:40 AM.

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