I'm having trouble getting an image to appear on my future church website. I'm just using Build Your Own Web Site the Right Way Using HTML & CSS. As I test it out, the picture/image comes up with a red X in it.
| SitePoint Sponsor |
I'm having trouble getting an image to appear on my future church website. I'm just using Build Your Own Web Site the Right Way Using HTML & CSS. As I test it out, the picture/image comes up with a red X in it.


Hi jeekins, welcome to the forums,
The "red x" means the image isn't being loaded. This is often because the path is wrong, or the spelling is wrong. If you're trying to get
/images/logo.jpg eg.
make sure the src value isn't
/logo.jpg
or
/images/Logo.jpg
Thank you for the help

Also make sure that the path where you have the image has the proper permissions on it - it should match the permissions for your html files.


Also check the color settings for the image. If it's saved with CMYK color, it won't work on the web. It needs to be in RGB.
good tip abt images
Web Hosting with 99.9% uptime guarantee.
also make sure you are closing your tags, and not leaving out or putting too many closing tags on your page. Using CSS style page you can create an id and then place the link of the photo as the background-image and including other code, you can then reference it in your main page.
Bookmarks