You are here: HTML HREFS - confused... « HTML « IT news, forums, messages
HTML HREFS - confused...

Posted by Domestos on 04/23/06 23:24

Hi all,

I've read till I am blue in the face examples and thoughts on proper use of
the HREF tag.

My prblem is thus.

I develop and test locally and post the development to a website like most
of us...

my local development 'index.html' exists at...

http://localhost/dev/mywebsite/index.html

however,

My webpage exists at

http://www.mywebsite.com/index.html

How do i use HREF for local links i.e. graphics in the root/GFX folder
etc..so they work on both my development area and my website without
changing them everytime I upload them online. I'm really confused.... does
BASE HREF have a part to play?

My webpages are developed dynamically through php so I need them to work
through that too...

--
Thanks,
Andy Mak

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация