1 reply [Last post]
Last seen: 19 years 10 weeks ago
Joined: 2003-06-06
Posts: 1
Points: 0


I have an ASP page that I want to call from multiple sites. I want the ASP page to look like it is part of the calling site and to use the calling site css file. One problem is that the sites are on different servers. Does anyone know if this is possible? Many thanks


dJomp's picture
Last seen: 6 years 28 weeks ago
Joined: 2003-03-23
Posts: 422
Points: 0

Formatting single page called from multiple sites

It is definately possible to link to a CSS file on another server:

<link rel="stylesheet" type="text/css" href="http://blah.com/style/generic.css">

All you need to do now is write some nice ASP to detect where it's coming from and set the CSS accordingly.

I could do it in PHP, so there's no reason why it's not possible in ASP.

<moved to off-topic 'cos it's really an ASP question>

You know you're a geek when you try to shoo a fly away from the monitor with your cursor.