Click to See Complete Forum and Search --> : Centering


Mongoose
February 2nd, 2000, 07:40 AM
Does anyone know how to center an activeX Document I created in VB in the middle of the Explorer Window ??? and that changes whenever the window size changes (ie resized)??

thankx,

Spectre
February 2nd, 2000, 08:39 AM
Place it in a one cell table - then use the table cell's center property. The browser will then keep things centered for you.

Mongoose
February 2nd, 2000, 08:43 AM
but how do you do that in VB Code?

Spectre
February 2nd, 2000, 09:05 AM
You don't - you do it in the HTML that you are sending to the browser.