Forum Moderators: not2easy

Message Too Old, No Replies

CSS <IFRAME> .asp/.php incompatible?

         

complexity

6:15 am on Jul 9, 2003 (gmt 0)



Ok, I have a admin_add.asp page that lets me edit content in a iframe that is sent off to the db. The page that is loaded into that iframe does not allow any css to work and yes that same page is linked to the css file! <link rel="stylesheet" href="/css/default.css" type="text/css">

Anyway what I found out was that, the file being brought into the IFRAME is not allowed to be a .asp file or .php etc, it must be .html.

So Im ok to change my add.asp to admin_add.html because it doesnt have any asp on it, but what do I do when it comes to my editing file edit.asp?

It relys on asp to connect to the db and bring back the data.

Any experiance with this problem?

Any help would be great,

Thanks

Tim

bill

6:21 am on Jul 9, 2003 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



Have you tried an absolute link to the CSS file?

http://mydomain.com/css/default.css