4 Replies Latest reply on Aug 14, 2006 6:22 PM by FattyLumpkin

    Simple Fix?

    FattyLumpkin
      Hi. I am having two problems with the following URL. In making this website for a friend I...

      1) ...Can't seem to make relative URLs work! I have to put the entire http://... address in to make it show up! I've never encountered this before. It's an easy fix but I would like to pinpoint why this is happening.

      2) ...And as in a recent post I can not get a background image to show up inside a nested table. The main table worked out fine but the right hand table (called "In Focus") does not. I attempted the IE style sheet fix but this time it did not work.

      http://www.catholicinformationcenter.org/mdj/currentevents.htm

      Thank you in advance for any help you can offer.
        • 1. Re: Simple Fix?
          Level 7


          > 1) ...Can't seem to make relative URLs work! I have to put the entire
          > http://... address in to make it show up! I've never encountered this before.
          > It's an easy fix but I would like to pinpoint why this is happening.

          my assumption would be a minor problem with the site definition/site folder
          structure.

          please do this-
          open a new dw document.
          -->don't save it<--
          Please insert an image that is in this site's Local Site Folder.
          for ease of comparison, insert this one:
          http://www.catholicinformationcenter.org/mdj/graphics/header-sermons.jpg
          ignore/dismiss the warning about unsaved pages and paths.
          please find that <img tag in the code window, and copy/paste it into a
          reply.

          >
          > 2) ...And as in a recent post I can not get a background image to show up
          > inside a nested table. The main table worked out fine but the right hand table
          > (called "In Focus") does not. I attempted the IE style sheet fix but this time
          > it did not work.
          >
          http://www.catholicinformationcenter.org/mdj/graphics/table-270-bk.gif
          404 not found.
          it's either not uploaded, or perhaps the filename is a different CaSe.
          Find the file in the Files Panel, and PUT it to the remote.
          Some versions/installs of dw have problems seeing background images as
          dependant files to upload.

          • 2. Re: Simple Fix?
            FattyLumpkin Level 1
            Alan, thanks for the help. I feel like an idiot on that first problem...sure enough, it was not uploaded. Huff ;)

            Here is the image code. I hope this helps.

            <img src="/graphics/header-sermons.jpg"width="810" height="167">

            Thanks again.
            • 3. Re: Simple Fix?
              Level 7

              >
              > Here is the image code. I hope this helps.
              >
              > <img src="/graphics/header-sermons.jpg"width="810" height="167">

              "open a new dw document.
              -->don't save it<--"


              but i may have enough info to work on.


              IF a site root relative path puts the image at /graphics/ and an absolute
              path puts it at
              http://www.catholicinformationcenter.org/mdj/graphics/table-270-bk.gif

              then you have this site defined to the the /mdj/ folder??

              Is this site just the personal part, that is here:
              http://www.catholicinformationcenter.org/mdj/
              and this site definition is not for editing the main site
              http://www.catholicinformationcenter.org/

              If those guesses are correct- the simple fix is to Not Use Site Root
              Relative paths, only use Document relative paths. Reason: The site is hosted
              in a subfolder of the domain.

              Select an image in design view-
              click the folder icon in the Property Inspector, and browse to the file.
              At the bottom of the "browse to file" dialog box, find the pulldown to chose
              from "Relative to Site Root" or "Relative to Document".
              Set it to "Relative To Document" and click okay.


              • 4. Re: Simple Fix?
                FattyLumpkin Level 1
                Alan...THANK YOU for the attention you gave this. I didn't even know about the site vs. doc options. This works! Now I just have to sit down and fix it all.

                Again, thank you.