resizing webbrowser to fit content
I have an msaccess form I use to display html content in a webbrowser control. In this case, all the html content is in 1 table so the table pretty much gives me the dimensions of the report. It's a pretty simple table. For what it's worth, I set the size of the cells but not of the table, so I use the table's offsetHeight and offsetWidth to get the size of the document content. I want to adjust the size of the webbrowser control so it just fits the document, then adjust the size of the msaccess form just to fit the webbrowser control. Is it possible to get consistent scaling conversions between the units returned by offsetHeight/width and msaccess form controls like the webbrowser? If so, how is it done?
Thank you