954,595 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

.PSD not showing

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

WolfShield
Posting Whiz in Training
236 posts since Oct 2010
Reputation Points: 28
Solved Threads: 4
 

psd file cannot be displayed by browser. user jpg, gif, or png

carrieathomer
Light Poster
37 posts since Oct 2011
Reputation Points: 11
Solved Threads: 8
 

Alright,
Thanks for the help.

- WolfShield

WolfShield
Posting Whiz in Training
236 posts since Oct 2010
Reputation Points: 28
Solved Threads: 4
 

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');
 }
rotten69
Posting Whiz
346 posts since May 2011
Reputation Points: 3
Solved Threads: 16
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: