1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Display images in an img src

Discussion in 'HTML & Website Design' started by Philosophaie, Jun 4, 2014.

  1. #1
    I can not get the image to display.
    #movingbox {position:fixed; top:30%; right:40%; height:40%; width:20%; overflow:scroll; z-index: 50; background-color:lime;}
    <div id="movingbox">

    <a href="http://philosophaie.com/htmlphp/movingboxes/Arundel.htm">
    <img src="../htmlphp/movingboxes/images/Arundel_Castle.jpg" width="100px" height="100px" alt="Arundel Castle" />
    //I have other pictures that also do not show
    The jpg picture resides in "/htmlphp/movingboxes/images" of the server. I tried putting just Arundel_Castle.jpg with no path and moving the jpg file in with the htm files instead of images but that did not work either.
    Last edited: Jun 4, 2014
    Philosophaie, Jun 4, 2014 IP
  2. deathshadow

    deathshadow Acclaimed Member

    Likes Received:
    Best Answers:
    Trophy Points:
    Are you more than one deep in subdirectories? If so you might have to use just "/" instead of "../" -- or "../../." -- though really if you have to use ../ in the first place, your directory structure is likely not well thought out.
    deathshadow, Jun 5, 2014 IP