Does anyone have any idea how to programmatically center a given HTML element from a loaded web page in AxWebBrowser control embedded in my Windows Form? Using the .scrollIntoView(bool) method of the IHTMLElement interface does something similar but I want my element to be positioned in the center, not at the top or bottom of the browser. I've tried setting the .scrollTop property of the 'body' element (after casting it to IHTMLElement2), but that seemed to have no effect, as the .scrollTop value remained as 0.
any suggestions/advice would be appreciated,
regards,
Greg
Re: Centering a particular HTML element in AxWebBrowser cont