Forum Moderators: not2easy
Without using specific URLs (see the ToS [webmasterworld.com]) can you please provide an example of what you mean.
For example:
1) [example1.com...] calls [example2.com...] which uses [example2.com...]
2) I want [example1.com...] to be displayed using style sheet [example2.com...]
I want to be able to grab the href from that page and add it to my own page but for example as:
<link href="http://www.somesite.org/css/style01.css" rel="stylesheet" type="text/css">
Such applications could be used in frames, especially if done in JavaScript, would make pointing to CSS easier, perhaps?
I'm assuming you know the real name of "http://www.somesite.org" therefore you don't need to discover that?
In that case my language of choice would be php (yours could be anything else you're comfortable with) and I would:
1) physically copy the file "index.html" (if I knew it was called that); and
2) text string search through it looking for the directory of the css (if necessary - in your example it seems like you'd need to); and
3) text string search through it looking for the css file name; and
4) build the html to use it.
Perhaps a "bleeding obvious" response (sorry about that) but it may help.
I'm intrigued as to why you want to do this!?