Scale HTML page to fit Microsoft Web Browser ActiveX Control

I am trying to display a stored HTML page in my MS Access  2003 database using a Web Browser Control (ActiveX).

The page does NOT scale to the physical dimensions of the Web Browser Control, like a jpeg image will scale to fit an ImageFrame control.

I do not see any settings on the property sheet of the Web Browser Control to specify the size of the linked to HTML page.  

Can this not be controlled?

Thanks.
JohnGalt22Asked:
Who is Participating?
 
Jeffrey CoachmanMIS LiasonCommented:
JohnGalt22,

Then this appears to be an issue with the Web page (or HTML) itself.
The webBrowser control has very little control over this.

See here:
http://www.experts-exchange.com/Web_Development/Miscellaneous/Q_21912706.html
http://books.google.com/books?id=FmGufw4ce2gC&pg=PA245&lpg=PA245&dq=web+page+automatically+scale+to+fit&source=bl&ots=gsgYIAqZZx&sig=OFT2pVNyjvplLAMQEjMh0uszi_Y&hl=en&ei=oDihScKiCtCCtwf8_cmKDQ&sa=X&oi=book_result&resnum=8&ct=result#PPA246,M1

Also, please remember that there are real human limits here.
If your webbrowser control is 1 inch square, no mater what you do, most web pages will not be readable.
;-)

There is the ability of the page to "Squeeze" itself (by using frames) to fit itself into the available screen real estate and keep its same size.
There is also the ability of certain web browsers to adjust the font size to make more text fit on the screen.
Finally, IE7 has the ability to "Zoom" in on a web page.

None of these things can be controlled by the web browser control.
The web browser control is just designed to "View" a target document, in it's most basic sense.

If you need more control than the net web browser has, then perhaps you should just open an instance if IE Directly.
http://vba-corner.livejournal.com/4623.html
Or, just using something like this:
    Application.FollowHyperlink "http://www.cnn.com"

JeffCoachman
0
 
Jeffrey CoachmanMIS LiasonCommented:
Does this Stored HTMP page scale to fit in Internet Explorer?
0
 
JohnGalt22Author Commented:
No.

It will center itself horizontally in the IE window, but unless IE is open to full screen the page does not fit vertically.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.