Making link to different CSS's dynamic
I have 3 different CSS files: DesignA.css, DesignB.css, and DesignC.css. I want to display a particular page with one of these CSS's depending upon a table field 'Design' and it's respective value 'A' 'B' or 'C'.
So I was just looking for some code to put into <link rel=stylesheet href="/path/<dynamic code here>" type="text/css">
Re: Making link to different CSS's dynamic
Originally posted by mangeloni
// Stefan Huszics
i agree with you Stefan this is an ASP question, still to keep answers to questions in the same thread i will answer this one here, sorry if posting in wrong forum .
pull your values from the database and then write value to variable
designletter = rs("design")
<link rel=stylesheet href="/path/design<%=designletter%>.css type="text/css">
hope this helps
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)