Hi everyone, I used CSS to put a background image behind the thumbails and large images in the gallery....the images work fine on Mac Safari, Firefox, etc---but are failing to appear in Windows Explorer---any help would be much appreciated....they appear fine in Windows Firefox.
Believe it or not ... the background image is there!
First, I suggest you read this article on the IE box model: http://www.communitymx.com/content/article.cfm?page=2&cid=E0989953B6F20B41
Second, consider what an image with padding looks like ... exactly like an image without padding. Now, would you expect to see the background through the image?
Third, decide what you're going to do. The simplest way out is to force the image larger with width & height in CSS for IE: * html .photo-large { width: 525px; height: 377px; }
The better way would be to put the background on an additional div around the image, then put a margin around the image. Margins (in most cases) are rendered commonly by all browsers, and will provide the "frame" you're looking for. However, the former solution might work better in this case because you want the image to stretch but have the frame stay a constant size.
Derek, Thanks for your help in advance. I read the article you suggested and added the code into the CSS you specified. However, nothing has changed....I do see the background image when I refresh the IE browser, but once the image renders, it hides the background image. Also, the bkgd image is not placed directly, and increasing the padding and margin doesn't seem to help.
Derek, You are the bomb. Thanks. So, what should I do about the thumbnails? Still not clear on how you made the large images work----thank you so much.
Now the frames aren't lining up in other browsers----see next note. Thanks in advance for your fine work!
Whoever told you it doesn't work with Safari wasn't being entirely truthful. Here's the most recent (I believe) version of Safari on OS 10.4.7.
As for IE5.2/Mac, Microsoft discontinued its download availability last year, and stopped offering support for it shortly thereafter. As any frequenter of this forum knows, I think it's beyond time to stop supporting this browser. Continue to support it and folks will continue to use it.
Derek, Thanks...was a caching problem on my end. Now, last thing----how can I implement your stellar work on the bookmarks now? Then I'm finished---promise. Thanks in advance. Brandon