Mordechai: <base> affects what the leading slash actually points to.
You could have a little app in http://localhost/myApp and code all
your pages up to use <img src="/myApp/images/myImage.gif">, but when
you move the app into another directory (eg. http://localhost/yourApp)
you then need to do a find & replace on every URL in every document
site wide to change this path. If you are using <base> from day one
you only need to change the path within one tag.

James: Yes - I know you can do this and we usually do,
http://projectName.gruden.com for staging and
http://project.gruden.int for internal and
http://projectName.machineName.gruden.int for actual developers
desktops.

I guess the key thing in both of these cases is that <base> gives you
a flexibility that you would otherwise not have. Its not the answer to
every problem and its not something you MUST DO EVERYTIME - its just
there for our convinience. And sometimes its pretty handy.

-- 
Mark Stanton 
Gruden Pty Ltd 
http://www.gruden.com
*****************************************************
The discussion list for http://webstandardsgroup.org/
See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
***************************************************** 

Reply via email to