Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/325.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
C# 如何在C语言中对齐webbrowser控件上的用户控件位置#_C#_Browser_Controls - Fatal编程技术网

C# 如何在C语言中对齐webbrowser控件上的用户控件位置#

C# 如何在C语言中对齐webbrowser控件上的用户控件位置#,c#,browser,controls,C#,Browser,Controls,我创建了一个web浏览器控件和一个表单用户控件。如何对齐表单用户控件是web浏览器的中心问题。请看图片上方。谢谢 您可以将其放在div中,并按如下方式提及div的样式 <div class="divUserCtrl"> <!-- put your control here--> </div> 在这里,我使用Web浏览器控件和用户控件。我没有使用HTML。谢谢你的评论。发布一个比邮票还大的截图。 .divUserCtrl { margin:0 aut

我创建了一个web浏览器控件和一个表单用户控件。如何对齐表单用户控件是web浏览器的中心问题。请看图片上方。谢谢


您可以将其放在div中,并按如下方式提及div的样式

<div class="divUserCtrl">
   <!-- put your control here-->
</div>

在这里,我使用Web浏览器控件和用户控件。我没有使用HTML。谢谢你的评论。发布一个比邮票还大的截图。
.divUserCtrl
{
  margin:0 auto;
}