Previous Message
Next Message

relative or absolute urls?

Sent by Ross on 17 June 2007 10:10


When linking to images do you use relative or absolute urls?

background-image:url(../images/myimage.jpg);

or

background-image:url(http://wwww.mysite.php/images/myimage.jpg);





I have a common header on all pages with different folders and sub folders and the relative urls
only work for the pages in main directory but the full url means I have to change them all when
moving from local to remote hosts.

I can create a common page head with php but was looking for non php solution.

R.



______________________________________________________________________
css-discuss [EMAIL-REMOVED]]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/
Previous Message
Next Message

Message thread: