center an .swf objet with html

R

robert tourangeau

I would like to know how to vertical center an object accordingly to the
screen resolution?

There's my code.

Robert

(e-mail address removed)

<body background="images/bg.jpg">
<!--url's used in the movie-->
<!--text used in the movie-->
<table >
<tr>
<td>
<object class= "milieu" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.
cab#version=7,0,0,0" width="675" height="450" id="debut" style="border:
none">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="debut.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="debut.swf" quality="high" bgcolor="#DADFDB" width="750"
height="500" name="debut2" align="middle" allowScriptAccess="sameDomain"
type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</td>
</tr>
</body>
 
N

Neal

I would like to know how to vertical center an object accordingly to the
screen resolution?

The screen resolution will be larger than the viewport, perhaps
significantly larger. Are you sure you want that?
 
L

Leif K-Brooks

Neal said:
The screen resolution will be larger than the viewport, perhaps
significantly larger. Are you sure you want that?

And the canvas may be larger than the viewport. You want to center to
the canvas.
 
M

Mitja

robert tourangeau said:
I would like to know how to vertical center an object accordingly to
the screen resolution?

use tables and/or css

google: css vertical centering
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,981
Messages
2,570,188
Members
46,731
Latest member
MarcyGipso

Latest Threads

Top