Chris Shiflett wrote:
Kenneth Downs wrote:
It seems that relative links to CSS and JS all suddenly break.
So if you have:

www.example.com/friendly/varname/varvalue/varname/varvalue

and you have a link to "css/main.css", then it will not be able
to find the style sheet anymore.

You can still use relative URLs. Just use an absolute path:

/css/main.css

So both are actually relative, it is more a matter of relative from where? A "relative" path is relative from the complete path of the HTTP request, while an "absolute" path is relative only from the domain of the HTTP request?

Hope that helps.

Chris


_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to