User Name
Password
AppleNova Forums » Programmer's Nook »

Why won't other browsers render this image?


Register Members List Calendar Search FAQ Posting Guidelines
Why won't other browsers render this image?
Thread Tools
jlehrfeld
Member
 
Join Date: May 2005
 
2006-03-30, 16:19

I've been having this problem where only Safari will render an image on a site I'm designing and no other browsers will. I can't for the life of me figure out why this is happening -- usually (this isn't the first time this has happened) it will only affect one image on the page, and everything else will render perfectly fine in every browser. Any insight into why this may be happening? Here is the CSS code for my header:

Code:
#header { /* HEADER DIV PROPERTIES */ position: relative; background-color: transparent; background-image: url(http://people.brandeis.edu/~lehrfeld/images/header.jpg); background-position: bottom center; background-repeat: no-repeat; width: 100%; height: 191px; border-bottom: 1px solid #000000; }
and for my footer:

Code:
#footer { /* FOOTER DIV PROPERTIES */ position: relative; background-image: url(http://people.brandeis.edu/~lehrfeld/images/footer.jpg); background-position: bottom center; background-repeat: no-repeat; width: 100%; height: 74px; color: #FFFFFF; margin: 0 1px; border-top: 1px solid #000000; }
The problem is the footer -- the image that is supposed to be the background won't load. I tried just typing in the path of the image to see if the browsers would load that image by itself, and no luck there either. Only Safari would load it. Again, no problems with any other images (I included both header and footer code though so it's easy to compare one that works with one that doesn't because both sections are almost identical). Both sections only have opening and closing div tags around other divs and a paragraph or two. It's not that the image isn't there, or isn't linked to correctly, because Safari does load it! Is there something screwy going on??
  quote
Brad
Selfish Heathen
 
Join Date: May 2004
Location: Zone of Pain
 
2006-03-30, 16:27

The footer image isn't a JPEG. That's the problem.

It's a Photoshop file with the ".jpg" extension appended to it. Safari displays it because Safari uses the native image framework in Mac OS X which supports Photoshop's ".psd" format.

PS. Welcome to AppleNova!

The quality of this board depends on the quality of the posts. The only way to guarantee thoughtful, informative discussion is to write thoughtful, informative posts. AppleNova is not a real-time chat forum. You have time to compose messages and edit them before and after posting.
  quote
jlehrfeld
Member
 
Join Date: May 2005
 
2006-03-30, 16:33

Oh my sweet lord, thank you so much. This was bothering me for days!
  quote
Brad
Selfish Heathen
 
Join Date: May 2004
Location: Zone of Pain
 
2006-03-30, 16:36

Glad to help. Cheers!
  quote
murbot
Hoonigan
 
Join Date: May 2004
Location: Canada
 
2006-03-30, 16:42

Brad. You make me want to be a better man.

But not in a Brokeback Nova way or anything.
  quote
ghoti
owner for sale by house
 
Join Date: Apr 2005
Location: Charlotte, NC
 
2006-03-30, 16:48

I think it's time we built a shrine.

Ooooh a rhyme! A rhyme! How mighty fine!
  quote
jlehrfeld
Member
 
Join Date: May 2005
 
2006-03-31, 22:30

Yes I agree about the shrine, although I've been here only a short time. Whoa, that almost rhymed...

Ok I am going to ask one more silly but related question. Now I'm really careful not to make that Photoshop mistake, but IE still won't display one of my images (all the other browsers will now, though). Any ideas what it might be this time?? Many grr's and advanced thanks!
  quote
Brad
Selfish Heathen
 
Join Date: May 2004
Location: Zone of Pain
 
2006-04-01, 00:41

Quote:
Originally Posted by jlehrfeld
IE still won't display one of my images (all the other browsers will now, though). Any ideas what it might be this time??
Link? Code? Gimme something tangible to work with here.
  quote
jlehrfeld
Member
 
Join Date: May 2005
 
2006-04-01, 09:31

Quote:
Originally Posted by Brad
Link? Code? Gimme something tangible to work with here.
Ah sorry but it seems like it worked itself out. I honestly don't know what happened... I should say this is IE5/Mac giving me trouble; I really don't know what IE for PC's does. Man I hate IE...
  quote
Wyatt
Veteran Member
 
Join Date: Mar 2005
Location: Near Indianapolis
 
2006-04-01, 09:54

Quote:
Originally Posted by jlehrfeld
Ah sorry but it seems like it worked itself out. I honestly don't know what happened... I should say this is IE5/Mac giving me trouble; I really don't know what IE for PC's does. Man I hate IE...
Microsoft has halted development of IE for the Mac. Why are you trying to make sure it works in that bastard child browser, anyway? They haven't updated it in years. It's nowhere near standards-compliant, and any attempt to get it to work may destroy your page in other browsers. Give up on IE Mac.

Twitter: bwyatt | Xbox: @playsbadly | Instagram: @bw317
  quote
jlehrfeld
Member
 
Join Date: May 2005
 
2006-04-01, 11:00

Quote:
Originally Posted by fcgriz
Microsoft has halted development of IE for the Mac. Why are you trying to make sure it works in that bastard child browser, anyway? They haven't updated it in years. It's nowhere near standards-compliant, and any attempt to get it to work may destroy your page in other browsers. Give up on IE Mac.
I dunno, is it nowhere close to what IE looks like on a PC? That's really the only reason I was using it -- I figured it couldn't be that far off. Is there a better way to get a taste of what a PC user will see (other than finding a PC to test it on)?
  quote
Wyatt
Veteran Member
 
Join Date: Mar 2005
Location: Near Indianapolis
 
2006-04-01, 11:14

Quote:
Originally Posted by jlehrfeld
I dunno, is it nowhere close to what IE looks like on a PC? That's really the only reason I was using it -- I figured it couldn't be that far off. Is there a better way to get a taste of what a PC user will see (other than finding a PC to test it on)?
No, it's not. Although IE for the PC is a piece of garbage, too. IE7 looks to be slightly more standards-compliant, but of course Microsoft is going to put in stuff that's not even close to standard as well. Just design to be standards-compliant. That's all you can really ask for any more. With so many browsers out there, you're never going to have a design that looks perfect in every browser, but being fully standards compliant will give you the best shot.

Twitter: bwyatt | Xbox: @playsbadly | Instagram: @bw317
  quote
jlehrfeld
Member
 
Join Date: May 2005
 
2006-04-01, 11:42

Quote:
Originally Posted by fcgriz
No, it's not. Although IE for the PC is a piece of garbage, too. IE7 looks to be slightly more standards-compliant, but of course Microsoft is going to put in stuff that's not even close to standard as well. Just design to be standards-compliant. That's all you can really ask for any more. With so many browsers out there, you're never going to have a design that looks perfect in every browser, but being fully standards compliant will give you the best shot.
Alright, thanks for the advice!
  quote
Brad
Selfish Heathen
 
Join Date: May 2004
Location: Zone of Pain
 
2006-04-01, 15:30

To add to that, Mac IE used a completely separate rendering engine from anything that Windows IE used. Mac IE had a different set of supported features and a different set of bugs; it did some things better than Win IE and some things worse.

The last substantial update, Mac IE 5, was released in 2000. As fcgritz said, Microsoft officially announced abandoning its development last year, although it obviously had already not done any work on it for years prior.

When compared to practically every single other Mac web browser, IE is far below at the bottom of the chain. No one should be using it. Period.

The quality of this board depends on the quality of the posts. The only way to guarantee thoughtful, informative discussion is to write thoughtful, informative posts. AppleNova is not a real-time chat forum. You have time to compose messages and edit them before and after posting.
  quote
Majost
monkey with a tiny cymbal
 
Join Date: Nov 2004
Location: Lost
 
2006-04-01, 16:12

Quote:
Originally Posted by Brad
When compared to practically every single other Mac OS X web browser, IE is far below at the bottom of the chain. No one should be using it. Period.
While true for OS X, the Browser world in OS 9 is much different. There, IE is on much more equitable standing with an outdated version of Mozilla (that, may I add, is difficult to find), Netscape, and few others.
  quote
ghoti
owner for sale by house
 
Join Date: Apr 2005
Location: Charlotte, NC
 
2006-04-01, 16:29

How many people are still using OS9? Apart from a few geeks who will never accept that times change ...
  quote
Brad
Selfish Heathen
 
Join Date: May 2004
Location: Zone of Pain
 
2006-04-01, 16:37

Exactly my thoughts, ghoti. Mac OS X has been shipped for over five years now. I don't think there would be many users still holding on to Mac OS 9 and even those that are still using OS 9 are generally irrelevant because practically everything they're using, especially online, is severely outdated.

That's why I didn't make the distinction. The default is Mac OS X when referring to "Mac" and has been for a long time.

The quality of this board depends on the quality of the posts. The only way to guarantee thoughtful, informative discussion is to write thoughtful, informative posts. AppleNova is not a real-time chat forum. You have time to compose messages and edit them before and after posting.
  quote
Posting Rules Navigation
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Post Reply

Forum Jump
Thread Tools
Similar Threads
Thread Thread Starter Forum Replies Last Post
Problems getting image preview in Finder timmmee Genius Bar 1 2007-08-25 06:59
Image name retrival from webpage - Objective C mlramya Programmer's Nook 14 2006-01-22 14:26
12" i/power book and Core Image jbloodwo Purchasing Advice 2 2005-05-01 22:22
Core Image and Core Video- Requirements ASZ993 Speculation and Rumors 13 2005-02-18 14:14
Disk image won't unmount - reason? Koodari Genius Bar 3 2004-08-17 06:16


« Previous Thread | Next Thread »

All times are GMT -5. The time now is 02:54.


Powered by vBulletin®
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004 - 2024, AppleNova