M
Michelle Sollicito eBarster
Ok I know a lot of asp but not a lot of asp.net and C# so please bear
with me. I need some help converting..
In my asp project I have some styles in my head tag that change
according to a parameter passed in in the query string - fontfamily
is the variable that I store the value of the parameter in within my
asp code, and then I place that into the styles see below..
<style type="text/css">
a:link,a:visited,a:hover,a:active{font...
..ebartext{font-family:<%=fontfamily%>;...
..price{font-family:<%=fontfamily%>;fon...
..textfont{font-family:<%=fontfamily%>;...
..{font-family:arial,sans-serif;font-si...
table{background-color:transparent;}
..ebaylogo{position:absolute;z-index:40...
..ebarlogo{position:absolute;z-index:40...
..ebarlogotext{font-family:arial,sans-s...
..ebarcontainer{position:absolute;left:...
..clipdiv{position:absolute;left:0px;to...
</style>
I am not sure how to change my stylesheet from within c# and replace
it with a value passed in as a parameter.
I have gotten the value into the string variable fontfamily, but not
sure how to place that within the style??
//in my c# code default.aspx.cs I get the parameter passed in fine..
string fontfamily = "" + Request.QueryString["fontfamily"];
Can anyone help?
with me. I need some help converting..
In my asp project I have some styles in my head tag that change
according to a parameter passed in in the query string - fontfamily
is the variable that I store the value of the parameter in within my
asp code, and then I place that into the styles see below..
<style type="text/css">
a:link,a:visited,a:hover,a:active{font...
..ebartext{font-family:<%=fontfamily%>;...
..price{font-family:<%=fontfamily%>;fon...
..textfont{font-family:<%=fontfamily%>;...
..{font-family:arial,sans-serif;font-si...
table{background-color:transparent;}
..ebaylogo{position:absolute;z-index:40...
..ebarlogo{position:absolute;z-index:40...
..ebarlogotext{font-family:arial,sans-s...
..ebarcontainer{position:absolute;left:...
..clipdiv{position:absolute;left:0px;to...
</style>
I am not sure how to change my stylesheet from within c# and replace
it with a value passed in as a parameter.
I have gotten the value into the string variable fontfamily, but not
sure how to place that within the style??
//in my c# code default.aspx.cs I get the parameter passed in fine..
string fontfamily = "" + Request.QueryString["fontfamily"];
Can anyone help?