D
Denny
Hello,
I'm running into a problem that I think should be easy. Currently I have a
Div (container) that is getting its height and background-repeat from an
external CSS file.
What I need to do is change the background-image value at runtime. I've
tried to give the DIV runat="sever" attribute then use the
Attributes.Add("style", "background-image=url(" + ImagePath + ")"), but then
it ignores the external CSS file (height & background-repeat).
Any help would be appreciated.
I'm running into a problem that I think should be easy. Currently I have a
Div (container) that is getting its height and background-repeat from an
external CSS file.
What I need to do is change the background-image value at runtime. I've
tried to give the DIV runat="sever" attribute then use the
Attributes.Add("style", "background-image=url(" + ImagePath + ")"), but then
it ignores the external CSS file (height & background-repeat).
Any help would be appreciated.