-1

What I want is a pic to show on full background. But the image is not displaying. The code I have ( the relevant parts ):

<div id="bg"><img src="welcome.psd" width="100%" height="100%" alt="" /></div>

And the CSS:

#bg
{
	position:fixed;
	top:0;
	left:0;
	width:100%;
	height:100%;
}

I have the .CSS file linked in the head and the 'welcome.psd' is in the same folder as all of the other files. It just shows a broken image pic.

Hopeful for help,

- WolfShield

3
Contributors
3
Replies
4
Views
5 Years
Discussion Span
Last Post by rotten69
0

I've never worked with PSD files. There should be a way to get around the problem you're having. Open the file in Photoshop or some preferred software of yours and convert it to the extension you want. Again, you'll encounter a problem displaying it in a browser if you have got the same got as above.

Or try this option. In your css file,

#bg{
 background-image: url('welcome.psd');
 }

Edited by rotten69: n/a

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.