Tuesday, July 22, 2014

Set width and height of a DIV with C#

<div id="div1" runat="server" style="width: 648px; height: 259px; "
     align="left">
</div>


div1.Style.Add("width", "0px");
div1.Style.Add("height", "0px");

No comments: