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.
HTML Code:
<!doctype html> <html> <head> <title>Test</title> <meta charset="utf-8"/> <style type="text/css"> body > div { /*background-image: url('http://placehold.it/800x150.png');*/ background-image: url('test-800x150.png'); background-repeat: no-repeat; min-height:300px; width: 1000px; border: 1px solid red; } </style> </head> <body> <div> test </div> </body> </html>


Reply With Quote



