The forums ran from 2008-2020 and are now closed and viewable here as an archive.
Home › Forums › CSS › Uploaded images to webserver. Now they won’t display…
So I’m in the process of uploading my images to the webserver, via WinSCP. I’ve got them loaded to the address http://info202.info/mrobinett/web/images/*imagename*.
I’ve replaced the fixed links with the relative links, but I can’t get the images to display. Any thoughts? Am I not linking the files properly?
Ex: the "background image" is set to:
<img style="width: 100%; height: 100%;" src="background.jpg"/>
…but to no avail.
Your line was:
<img src="../images/background.jpg" style="width: 100%; height: 100%;">
It should be:
<img src="images/background.jpg" style="width: 100%; height: 100%;">
As a side note, you should really be applying that image to the div itself.