Jump to content

Recommended Posts

Posted

Your image tags are relative (../image)

and your images are in (www.site.com/page_images)

 

so when in the real location ( www.site.com/calendar/)

the tag (../page_images/image) works by

going up a level and then into (page_images)

 

Change your image tags to absolute (www.site.com/page_images/image)

 

or put them in the same folder as the site

 

or a folder below (www.site.com/calendar/page_images/image)

and change the tag to (page_images/image)

hope this helps

Posted

Thanks, Turtle, although your method would work, I was reluctant to go in and change all my links. But you did trigger a memory of an HTML element I'd seen in the past, never used, and never quite understood what it was used for - the BASE element. I had to go look it up in the spec and then gave it a try.

 

By adding:

 

<BASE href="http://www.austinamericana.com/calendar/index.html">

 

in the HEAD of my document all the relative links point to the right place no matter which entry (domain or subdomain) is used.

 

Thanks, I've learned something today :)

 

Bill

Posted

Thank you Bill, I had forgotten about BASE too, and I may redo my image links as well, now that I have a use for it. I had to look it up now too, and I also found the target option, I had also forgotten about, maybe I should re read the book LOL

have a nice day!

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...