//获取到textbox1 的top值 Response.Write(textbox1.Style["top"]); //设置textbox1的style textbox1.Style["Style"] = "left: 500px; position: absolute;top:400px";