So I tried to change the value of the z-index of a div inside c#.
I tried it like that: https://msdn.microsoft.com/en-us/library/system.web.ui.attributecollection.cssstyle(v=vs.110).aspx
So now I can use the div inside of the c# with runat="server" but the CssStyle doesnt work.
div1.CssStyle.Add("z-index", "-1");
It can't find it but i'm using using System.Web.UI;
What do I need to use CssStyle?
Thanks