Lefu Posted December 17, 2009 Share Posted December 17, 2009 dear friends, lets say I have www.example.com and an images and css folder. 1. background:url(../images/image.jpg) no-repeat; 2. background:url(http://example.com/images/image.jpg) no-repeat; I would like to know if there loading differences here. thanx a lot. Link to comment https://forums.phpfreaks.com/topic/185453-images-reference/ Share on other sites More sharing options...
rajivgonsalves Posted December 17, 2009 Share Posted December 17, 2009 nope there should not be any difference as the first one is the relative path from your folder css so it will be from mysite.com/css/ and the second one is an absolute path. In anycase it points to the same file. Link to comment https://forums.phpfreaks.com/topic/185453-images-reference/#findComment-979101 Share on other sites More sharing options...
haku Posted December 17, 2009 Share Posted December 17, 2009 No difference. Link to comment https://forums.phpfreaks.com/topic/185453-images-reference/#findComment-979115 Share on other sites More sharing options...
Lefu Posted December 18, 2009 Author Share Posted December 18, 2009 Thanks for your replies guys. have good times Link to comment https://forums.phpfreaks.com/topic/185453-images-reference/#findComment-979776 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.