Discussion Locked

.jpg bground image through IIS server

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.
I have a html page hosted through IIS server. This html page uses .jpeg image as a background image (Using the html tag ). When I open this file by directly doubleclicking it (In IE), background image appears. But when this page is hosted through IIS server and is accessed (Using its URL like http://abc/xyz/myhtml.html), then background image doesn't appear. Does anybody know why .jpg image doesn't appear in the background when html page is hosted on a IIS server? And how to sove this problem ?

4 replies

by p.mears

Can you post more code from the HTML page? secondly, does that same IIS server allow you to show GIF or PNG imagaes as backgrounds? In other words, is this a JPG only problem?

by electronvolt

Rest of the html code contains links to the other web sites and files. And Yes, if .gif is used instead of .jpg then it works fine i.e. it is problem related to .jpg only.

by electronvolt

Rest of the html code contains links to the other web sites. And Yes, if .gif is used instead of .jpeg then it works fine i.e. it is problem related to .jpeg only.

This discussion is closed to new replies.