Centrar .swf en .html

08/10/2006 - 22:40 por Antivirus | Informe spam
Saludos al foro, tengo un problema con el siguiente codigo:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xht...">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Perpectiva</title>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/...,0,0" width="550" height="400" id="Perpectiva" align="bottom">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="Imagenes/Perpectiva.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="Imagenes/Perpectiva.swf" quality="high" bgcolor="#ffffff"
width="550" height="400" name="Perpectiva" align="bottom"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>

Pero como hago por que al mirarlo en el browser me sale centrado pero pegado
al dorde superior.
Gracias
 

Leer las respuestas

#1 ¥-- Lombar --¥
09/10/2006 - 13:08 | Informe spam
Prueba con esto

<head>
<title>Perpectiva</title>
</head>
<body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0"
marginwidth="0" marginheight="0" bgcolor="#FFFFFF">
<table border="0" width="100%" cellspacing="0" cellpadding="0"
height="100%">
<tr>
<td align="center">
<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" id="obj1"
codebase="http://download.macromedia.com/pub/...,0,0"
width="550" height="400" id="Perpectiva
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="Imagenes/Perpectiva.swf" />
<param name="quality" value="High">
<param name="loop" value="false">
<param name="menu" value="false">
<embed src="Imagenes/Perpectiva.swf"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" name="obj1" width="550" height="400"
name="Perpectiva" quality="High" loop="false" menu="false"
allowScriptAccess="sameDomain"> </object>
</td>
</tr>
</table>
</body>

¥-- Lombar --¥
EchMotor 69
Jose Lombardia

"Antivirus" escribió en el mensaje
news:
Saludos al foro, tengo un problema con el siguiente codigo:


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xht...">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Perpectiva</title>
</head>
<body bgcolor="#ffffff">
<!--url's used in the movie-->
<!--text used in the movie-->
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
codebase="http://download.macromedia.com/pub/...,0,0"
width="550" height="400" id="Perpectiva" align="bottom">
<param name="allowScriptAccess" value="sameDomain" />
<param name="movie" value="Imagenes/Perpectiva.swf" />
<param name="quality" value="high" />
<param name="bgcolor" value="#ffffff" />
<embed src="Imagenes/Perpectiva.swf" quality="high" bgcolor="#ffffff"
width="550" height="400" name="Perpectiva" align="bottom"
allowScriptAccess="sameDomain" type="application/x-shockwave-flash"
pluginspage="http://www.macromedia.com/go/getflashplayer" />
</object>
</body>
</html>

Pero como hago por que al mirarlo en el browser me sale centrado pero
pegado
al dorde superior.
Gracias

Preguntas similares