I have a simple html img control I would like to add a background image to. I have the following but the background image does not show. The image being referenced is there. I can see it in the second image control. I just don't see it as a background. Any ideas?
<img id="htmlImg" style="background-image: url('physicianGraphic.jpg'); background-position:top center;" src="uploadedimages/Member_Photos/adkins.jpg" alt="Doc Photo Test" />
<img id="Img1" src="physicianGraphic.jpg" alt="Doc Photo Test" />
Thanks!
<img id="htmlImg" style="background-image: url('physicianGraphic.jpg'); background-position:top center;" src="uploadedimages/Member_Photos/adkins.jpg" alt="Doc Photo Test" />
<img id="Img1" src="physicianGraphic.jpg" alt="Doc Photo Test" />
Thanks!