Off-line red X when testing HTML code

  Dae 17:22 11 Oct 2004
Locked

Working off-line, writing a web page in HTML.

I have an HTML body> file, and a linked .css file.

When I open the HTML file in Internet Explorer on my computer, text shows up all right, and the styles written into the .css file also modify the text all right.

I have tried to add a 7KB jpg image to the body> section. But when I try to view the web page containing the image (in Internet Explorer), all I get is a box outline, containing a red cross and the alt attribute text (the text that will appear if the image fails to load).

What should I try doing to get the image to appear?

All this is when working off-line. All files are in the same folder. I have tried Ctrl+refresh. I have tried with Norton Personal Firewall disabled, and the firewall in my WinXP Pro+SP2 also disabled.

Regards.

  Dae 12:53 12 Oct 2004

To Forum Member:

Thank you for your help - you have solved the problem.

I was concentrating on all I had read recently about a red X being caused by security settings. You directed me to look elsewhere, and more carefully at the <img src code. And that is where the error was, not where I was concentrating.

On looking at this code this morning, I found an error that I just did not detect last night. The name of the .jpg file is really two words with an underscore between them. In error, I had typed the two words but with a hyphen (instead of the underscore) between them. However much I looked at it last night, I just did not detect this error.

I am most grateful for your help. Without it I should probably be still thinking I had a security settings problem.

Regards,

Dae

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

OnePlus 5 review

Alice Saey's mesmerising animation for Dutch singer Mark Lotterman

iPad Pro 10.5in (2017) review

Comment booster votre iPhone ?