Forum Moderators: not2easy

Message Too Old, No Replies

No Background Image showing in IE 5.2 Mac

Background image

         

eternal

12:14 pm on Sep 26, 2004 (gmt 0)

10+ Year Member



Hi,

I used browser cam to test my design and for some reason no background image shows up in IE5.2 on the Mac. I realise the likelihood of some-one actually viewing the site in this browser is very unlikely, as most people using Mac use Safari or Mozilla but I wanted to know what the problem was? Here is the css code for the background (external style sheet):

.frontpage{
background: #ffffff url(images/background1.jpg) 500px 0px no-repeat;
}
.productpage{
background: #ffffff url(images/background2.jpg) 512px 0px no-repeat;
}
.newspage{
background: #ffffff url(images/background3.jpg) 531px 0px no-repeat;
}

I then use these in a layer like so, for each page:

<div style="width:777px; margin-left:auto; margin-right:auto;" class="frontpage">

mipapage

11:15 am on Sep 27, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Just curious, what if you try this:

background: #ffffff url("images/background1.jpg") 500px 0px no-repeat;

DrDoc

12:18 am on Sep 28, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Put "no-repeat" before the postioning:

background: #ffffff url(images/background1.jpg) no-repeat 500px 0px;