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…

  • This topic is empty.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
  • #28575

    Hey guys,

    So I’m in the process of uploading my images to the webserver, via WinSCP. I’ve got them loaded to the address*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:

    <div id="bg_image">
    <img style="width: 100%; height: 100%;" src="background.jpg"/>

    …but to no avail.

    Thanks everyone.


    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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘CSS’ is closed to new topics and replies.