[RESOLVED] PNG background-image url doesn't show in firefox
I can't get the blue background image to show in Firefox; it just shows the red border without the blue rectangle image inside it. It's showing correctly in Chrome/IE/Opera. Firefox has no problems showing the background image when I run from a local file (file://) but has problems when I view from Apache or IIS webserver. Can anyone explain what might be going wrong? There is also no problems when the background image url is switched to placehold.it png image.
Re: PNG background-image url doesn't show in firefox
I renamed the file from 'test-800x150.png' to 'test.png' and it's now working. I can't explain it, because I've used the same layout on another site with a background-image url and that didn't have problems.
Re: PNG background-image url doesn't show in firefox
Originally Posted by tr333
I renamed the file from 'test-800x150.png' to 'test.png' and it's now working. I can't explain it, because I've used the same layout on another site with a background-image url and that didn't have problems.
Maybe firefox can not read file names when they are long an a certain length, if I remember correctly the value is 8.3 which is a maximum of eight characters before the "." after three after before problems start to occur.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu. https://get.cryptobrowser.site/30/4111672
Re: PNG background-image url doesn't show in firefox
Originally Posted by Nightwalker83
Maybe firefox can not read file names when they are long an a certain length, if I remember correctly the value is 8.3 which is a maximum of eight characters before the "." after three after before problems start to occur.
8.3 filename limitations haven't existed for years, so I would be surprised if that caused any issues.
Re: [RESOLVED] PNG background-image url doesn't show in firefox
Maybe so but to make sure nothing goes wrong it is best to keep to that format. Like Occam's Razor suggests the simplest solution is usually the best.
when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu. https://get.cryptobrowser.site/30/4111672
Re: [RESOLVED] PNG background-image url doesn't show in firefox
Originally Posted by Nightwalker83
Maybe so but to make sure nothing goes wrong it is best to keep to that format. Like Occam's Razor suggests the simplest solution is usually the best.
Usually, that might be reasonable, but this was a limit made by the operating system, not a browser, and it was pre-Windows 95. That was 16 years ago. This limitation does not exist anymore.