Thursday, December 30, 2010

Held in the middle of next Flash Page Vertical.

Example Such as flash high 1,000 px wide 580 px.

Values must be determined by the width / height of the Flash.
- Width equal to the width of the Flash.
- Height equal to the height of the Flash.
- Margin-left half of the width of Flash and then add a minus sign (-) in prefix.
- Margin-top half of the height of the Flash and then add a minus sign (-) in prefix.

CSS
#container_flash{
position: absolute; width: 1000px; height: 580px; left: 50%; margin-left: -500px; top: 50%; margin-top: -290px;
}

HTML
<div id="container_flash"> Flash Here! </div>



No comments: