关于HTMLElement中的setAttribute(string, string)属性值为整数的有关问题

关于HTMLElement中的setAttribute(string, string)属性值为整数的问题
HTMLElement中的setAttribute(string, string)函数可以为某一个标签赋属性值,比如
int width=1080, height=1920;
HtmlElement bd = this.webBrowser1.Document.GetElementsByTagName("BODY")[0];
bd.Style = "FONT-SIZE: 32px";
bd.SetAttribute("width", width.ToString());
bd.SetAttribute("height", height.ToString());

但是有个问题,得到的html中是width="1080" height="1920"这种形式,这样在网页中就不会起到作用,要怎样才能得到width=1080的赋值形式呢?
HTMLElement setAttribute

------解决方案--------------------
bd.Style = "FONT-SIZE: 32px"+";width:"+width+"px;height:"+height+"px";