How can I pass parameters to a style sheet? I have noticed a couple
of sites are now passing variables to the style sheet, which appear to
be substituted at run time. For example:
<link rel="stylesheet " type="text/css"
href="mystyle.c ss?color=ffffff ">
I have seen references in my temp Internet file directory that
indicates this is possible, but I can't find any documentation how to
do it.
I suspect the mystyle.css page is really an asp or aspx page they does
a substitution with via something like <%=
Request.QuerySt ring("color")%> , but I can't get this to work.
Thanks,
Roger
of sites are now passing variables to the style sheet, which appear to
be substituted at run time. For example:
<link rel="stylesheet " type="text/css"
href="mystyle.c ss?color=ffffff ">
I have seen references in my temp Internet file directory that
indicates this is possible, but I can't find any documentation how to
do it.
I suspect the mystyle.css page is really an asp or aspx page they does
a substitution with via something like <%=
Request.QuerySt ring("color")%> , but I can't get this to work.
Thanks,
Roger
Comment