I’m using a System.Windows.Forms.WebBrowser control next to textboxes with the left margins of each control aligned on the same X axis. The appearance however is “ugly” because the WebBrowser control inserts a margin/padding around the content of the control. Therefore the text in the WebBrowser control is several pixels to the right of the text in the textboxes above and below the WebBrowser control.
How do you fix this? The Margin setting does not appear to work.
What content are you putting inside of the web browser control? If it is HTML that has margins or padding defined (or using the defaults) you could try defining the HTML with no margins or padding around the body and see if that fixes your problem.