Hello How can I vertically align a flash movie to the center, that would work for all modern browsers ? I have already tried such but failed.

flashbox{

vertical-align:middle; }

1 answer

3
points
#centreblock {
width: 800px; /* change this to width of your flash video */
height: 480px; /* change this to the height of your flash video */
position: absolute;
top: 50%;
left: 50%;
margin-left: -400px; /* calculate half the width of your flash video, and make it negative. */
margin-top: -240px; /* calculate half the height of your flash video and make it postive. */
text-align: center;}
Answered about 7 years ago by Daryl Claudio