Hello,
I have a site in which I want to use 2 different CSS sheets to define color schemes. Currently I have a couple of tables with their background colors defined. I want to know if I can set the color value to a value which is pulled from the CSS file. So when someone clicks on a link to switch the CSS to the 2nd one, it will change the color scheme as well. Here is what I currently have:
I want the value #FF6600 to be a dynamic value which is loaded from the corresponding CSS sheet. Like COLOR 1 and the CSS would reference COLOR 1 to a color value. I am on an ASP server as well. I also possibly want to set cookies to remember the values but that's easy to do.
Thanks,
Ram0135
I have a site in which I want to use 2 different CSS sheets to define color schemes. Currently I have a couple of tables with their background colors defined. I want to know if I can set the color value to a value which is pulled from the CSS file. So when someone clicks on a link to switch the CSS to the 2nd one, it will change the color scheme as well. Here is what I currently have:
Code:
<td width="181" height="36" bgcolor="#FF6600"><div align="center" class="style3">SAMPLE TEXT</div></td>
I want the value #FF6600 to be a dynamic value which is loaded from the corresponding CSS sheet. Like COLOR 1 and the CSS would reference COLOR 1 to a color value. I am on an ASP server as well. I also possibly want to set cookies to remember the values but that's easy to do.
Thanks,
Ram0135