View Full Version : Centered (vertical/horizontal) ???
DJ LIQUID
December 28th, 2002, 07:35 PM
Hmm....im scratchin my noggin trying to figure this out :-\
The flash movie is in the center (horizontal and vertical) no matter how the window is resized
i know how to get it to center horizontally...but not vertical???
any help?
thanks
and happy holidays to everyone <:}
lostinbeta
December 28th, 2002, 07:40 PM
Change your td tag to have a valign setting.
<TD VALIGN="top">content</TD>
DDD
December 28th, 2002, 07:59 PM
the best way to do this is to use tables here is the code
You will have to play with the dimensions of the flash area to suit the size of your movie. But no matter what the movie will be in the middle this way.
Be sure to set your bottom, top, left and right margin to 0
<table width="100%" height="100%" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="50%" colspan="3"> </td>
</tr>
<tr>
<td width="50%" height="200"> </td>
<!-----####the transparent gif is just a place holder####--->
<td width="400" bgcolor="#CCCCCC">put your flash movie here<img src="transparent.gif" width="400" height="1"></td>
<td width="50%" height="200"> </td>
</tr>
<tr>
<td height="50%" colspan="3"> </td>
</tr>
</table>
Dave
December 30th, 2002, 09:29 AM
Are you using dreamweaver?
If you are, ill explain it to you!!
=)
DJ LIQUID
December 31st, 2002, 02:28 AM
yea im using Dreamweaver MX
That code that 3d-iva posted worked
but I'm open to what your explanation :beam:
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.