Come dire che non hai mai visto i CSS e usi la formattazione a tabelle. Ma lavori con XHTML: e` una contraddizione pure questa.
Ecco una possibile soluzione:codice:<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="it" lang="it"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>prova</title> <style type="text/css"> html, body { background-color: #fff; width: 100%; text-align: center; /* centrare orizz in IE */ } #contenitore { margin: auto; /* centrare standard */ text-align: left; /* opzionale */ vertical-align: middle; /* centrare vert per IE */ margin: 0; border: 0; padding: 0; } </style> </head> <body> <div id="contenitore"> <object .....> ..... </object> </div> </body> </html>

Rispondi quotando