Forum Moderators: not2easy

Message Too Old, No Replies

problems with image appearing in page

         

MsCrow

2:25 pm on Mar 31, 2008 (gmt 0)

10+ Year Member



Hello

I am having the most weird problem at the moment with my recent coding, I don't even know if it's a css issue. This test page - <url removed> - should have am image of a chair just randomly plonked in to see if it works and it just doesn't show up. The image is uploaded to the /images folder as chair.gif and it's referenced right. Can anyone help?

Ellie

[edited by: encyclo at 12:22 am (utc) on April 1, 2008]
[edit reason] no personal URLs please, see posting guidelines [/edit]

birdbrain

3:29 pm on Mar 31, 2008 (gmt 0)



Hi there MsCrow,

instead of...


<img src="/images/chair.gif"


...try it like this...


<img src="./images/chair.gif"


...which, just in case that you cannot see it, has a period - ('.') - before the forward slash. ;)

birdbrain

MsCrow

8:06 pm on Mar 31, 2008 (gmt 0)

10+ Year Member



Oh my goodness, thank you so much for your advice, of course it works! But I have no idea why, can you let me know if you have time? Thank you

birdbrain

9:00 pm on Mar 31, 2008 (gmt 0)



Hi there MsCrow,

actually, what I should have posted was...


instead of...

<img src="/images/chair.gif"

...try it like this...

<img src="images/chair.gif"

No need for the period, just remove the forward slash. ;)

birdbrain