I wanted to know if it is possible to reference the value of my “appSetting” file directly in a style sheet “.css” ? like this:
body
{
background-color: <%$ AppSettings:myColorValue %>;
}
This is simply beautiful ^^
Thanks a lot
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Out of the box, the ASP script ISAPI engine only parses files configured with supported extensions (
.asp). Also,.cssfiles are static and usually cached by the browser.You could move the
bodystyle into an<style>tag in your .asp code (e.g. in an#include) where it will be parsed the engine.