treehouse : what would you like to learn today?
Web Design Web Development iOS Development

background issues IE6

  • Hi,

    I'm having problems to display a background image in IE6. IE7, chrome and firefox is ok.
    I checked this with IEtester, I don't have IE6 installed.
    Could anyone please have a look?
    http://bo.colddesign.nl
    CSS: http://bo.colddesign.nl/mainStyle.css

    Another issue: When the browser window is to small to hold the entire page, i don't get scrollbars. Weird...

    I'm new to CSS and this is my first site with it, so be a little patient.... :oops:

    TIA
    Bert.
  • IE6 looks fine to me, it has the background face and the transparent image on top absolutely fine.

    ik
  • "ikthius" said:
    IE6 looks fine to me, it has the background face and the transparent image on top absolutely fine.

    ik

    THX. At first i wanted the site to be exactly in the middle of the browser. I stepped away form this idea, because this gave me a lot of headaches. Now it all works like i wanted to be.
    gr. Bert
  • hi,

    I looked at this again in IE6 and there are a couple of small problems.

    your using the iefixpng.htc aren't you?

    you have your image on fine, but a coule of your images are not background images, and I think that is the problem with this htc file, it seems to want your images to be background images.

    so the pic with the 2 women and the bottom images have a sort of non image above the image. I currently can't fix this as I am looking for a solution myself for my site for IE6, as I use the iefixpng.htc file thing

    the centering of the site can be done quite easily, if your using tables then center it, if your using divs then I done it on one site using margin-left:auto; and margin-right:auto; in the css for body and css for my wrapper div and adding text-align:center for both, not sure why but IE seemed to like the text align center for centering the images.

    ik
  • Thank you for your reply....

    I switched to pngfix.js This one works perfect and it's veru easy to install. Have a look:
    http://homepage.ntlworld.com/bobosola/index.htm
    Best solution i've seen so far :D

    About the centering thing: Horizontal wasn't my problem, but vertical.
    Tried various solutions and all had some kinde of problem. It took to much time to figure this one out, so i stepped away from it.

    gr. Bert