PDA

View Full Version : <base href="SITENAME" /> = RELATIVE LINKS THAT WORK SITEWIDE



cberic3
29 Aug 2005, 01:32 PM
<base href="SITENAME" /> = RELATIVE LINKS THAT WORK SITEWIDE

Wrote a simple howto to prevent having to rely on internal, sitewide absolute links. Only drawback is if you use subdomains and you want to preserve the subdomain path in the address bar. Really, really simple tip that saves alot of time in case need to preserve your relative links.

http://computing.adviceuniverse.com/web/20050822basehref/

-Eric

Rincewind
29 Aug 2005, 08:02 PM
A little used html tag - though a usefull one. For those wanting it form the horses mouth: http://www.w3.org/TR/html4/struct/links.html#h-12.4