Jump to content

Absolute vs Relative Reference


doubledee

Recommended Posts

Using a relative reference has always been the recommended way to go.

 

The reason being that the site could be picked up and moved without having things break.

 

Now HTML has a tag called BASE, this sets the first part of a call that, for one reason or another, needed to be absolutely referenced.

 

I set <base> when I grab a site's programming so I can view the images that are relative referenced in WAMP.

I always thought absolute was something like http://www.mywebsite.com/folder/xxx.css and relative was ../xxx.css.

There are a few forms of absolute:

 

* For some reason I'm not sure if this one is supported by the standards. Read otherwise somewhere? Regardless, it works.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.