Hi guys. I'm looking to do much the same as was in this thread thread215-1101027.
I've written data to a cookie. It contains background color, font color and font size info that the user has selected on a customization page.
I'd like to be able to create a CSS file to read the data in the cookie if it is there and use those values, otherwise use my default values.
The examples given in the listed thread don't help me unfortunatley. I'm using IIS, ASP.Net and VBScript.
Can anyone provide a sample CSS file that can read a cookie and change values in the CSS based on the cookie data? Can this even be accomplished? I would like ot avoid having to set up a database to store the user preferences on the server.
Thanks in advance.
Mark
I've written data to a cookie. It contains background color, font color and font size info that the user has selected on a customization page.
I'd like to be able to create a CSS file to read the data in the cookie if it is there and use those values, otherwise use my default values.
The examples given in the listed thread don't help me unfortunatley. I'm using IIS, ASP.Net and VBScript.
Can anyone provide a sample CSS file that can read a cookie and change values in the CSS based on the cookie data? Can this even be accomplished? I would like ot avoid having to set up a database to store the user preferences on the server.
Thanks in advance.
Mark