Closed Thread Icon

Preserved Topic: CSS with ASP (Page 1 of 1) Pages that link to <a href="https://ozoneasylum.com/backlink?for=21055" title="Pages that link to Preserved Topic: CSS with ASP (Page 1 of 1)" rel="nofollow" >Preserved Topic: CSS with ASP <span class="small">(Page 1 of 1)</span>\

 
dk01
Bipolar (III) Inmate

From: dk's house of love
Insane since: Oct 2001

posted posted 01-19-2002 19:03

I am not sure where to put this but here goes.. If i have a stylesheet called "css.asp" and it has ASP code in it which is parsed before the css is applied to the page, would it be ok to do the following:

code:
<link rel="stylesheet" href="css/css.asp" type="text/css">


I think it should work since the type overrides the file extension. Just wondering if browsers would accept a stylesheet with this file extension. Also I doubt i will be able to use any querystrings ie.:

code:
<link rel="stylesheet" href="css/css.asp?skin=aqua" type="text/css">


I guess this is an ASP question but I didn't know what catagory it'd be in.
-dk

- can't decide? have another drink.

mr.maX
Maniac (V) Mad Scientist

From: Belgrade, Serbia
Insane since: Sep 2000

posted posted 01-19-2002 21:03

Yes, you can call ASP script that generates CSS via <LINK> tag, and yes, you can pass parameters it...


dk01
Bipolar (III) Inmate

From: dk's house of love
Insane since: Oct 2001

posted posted 01-19-2002 21:13

Yeah thought so. seems to be workin for me. thanks max.
-dk

- can't decide? have another drink.

« BackwardsOnwards »

Show Forum Drop Down Menu