thegreendove
06-13-2005, 05:58 PM
I want to align a flash movie (600x350) in the center (horizontally) and middle (vertically) of an HTML page dynamically so whatever the resolution is it just fits in the center and in the middle.
I tried the <div> tag:
<div align="center" valign="middle">My Flash Movie</div>
But it just aligns the flash movie horizontally and puts it in the top-center of the HTML page. How can I put it in the middle-center of an HTML page?
Is it possible doing so with javascript screen.width & screen.height methods and HTML <span> tag? Please help me out. Thanx.
I tried the <div> tag:
<div align="center" valign="middle">My Flash Movie</div>
But it just aligns the flash movie horizontally and puts it in the top-center of the HTML page. How can I put it in the middle-center of an HTML page?
Is it possible doing so with javascript screen.width & screen.height methods and HTML <span> tag? Please help me out. Thanx.