Ver Mensaje Individual
  #1 (permalink)  
Antiguo 12/05/2008, 19:34
opzina
 
Fecha de Ingreso: marzo-2008
Mensajes: 1.020
Antigüedad: 16 años, 1 mes
Puntos: 21
(ayuda) Margin: auto???? donde???

hola....este es el codigo de la pagina....la cual cdo se carga se ve normal..pero cdo modifico el tamaño de la pantalla se corren las imagenes y otras cosas...

la pregunta es...como o con que codigo evito este problema...????

codigo:

<!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">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Bienvenidos | nutrimel.com.ar</title>
<script type="text/JavaScript" src="http://www.nutrimel.com.ar/includes/rounded_corners_lite.inc.js"></script>

<!--[if lt IE 7.]>
<script defer type="text/javascript" src="http://www.nutrimel.com.ar/includes/pngfix.js"></script>
<![endif]-->
<style>
.transparente {
filter: alpha(opacity=65);
-moz-opacity: .65;
opacity: .65;
}
.myBox
{
margin: auto;
color: #ffffff;
width: 70%;
padding: 20px;
text-align: center;
background-color: #2059AD;
border: 3px solid #ffffff;
}

html,body{
height: 50%;
text-align: center;
font-family: Calibri;
font-size: 12px;
margin: auto;
}

body {
background-image: url(../Imagenes/fondo.png);
}
body,td,th {
font-size: 14px;
color: #FFFFFF;
}
a {
font-size: 12px;
color: #FFFFFF;
}
a:link {
text-decoration: none;
}
a:visited {
text-decoration: none;
color: #FFFFFF;
}
a:hover {
text-decoration: none;
}
a:active {
text-decoration: none;
}
</style>
<script type="text/JavaScript">
window.onload = function()
{
settings = {
tl: { radius: 20 },
tr: { radius: 20 },
bl: { radius: 20 },
br: { radius: 20 },
antiAlias: true,
autoPad: true,
validTags: ["div"]
}
var myBoxObject = new curvyCorners(settings, "myBox");
myBoxObject.applyCornersToAll();
}
//-->
</script>
</head>

<body>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div class="myBox">
<div align="center">
<p>&nbsp;</p>
<p>&nbsp;</p>
<table width="650" border="0">
<tr>
<td><div align="center"><?php include('http://www.nutrimel.com.ar/includes/date.php'); ?></div></td>
</tr>
</table>
<table width="650" border="0">
<tr>
<td><div align="center"><?php include('http://www.nutrimel.com.ar/includes/header.html'); ?></div></td>
</tr>
</table>
<table width="650" border="0">
<tr>
<td><div align="center">
<?
if (file_exists( $path_modulo )) include( $path_modulo );
else die('Error al cargar el módulo <b>'.$modulo.'</b>. No existe el archivo <b>'.$conf[$modulo]['archivo'].'</b>');
?>
</div></td>
</tr>
</table>
<table width="650" border="0">
<tr>
<td><div align="center"><?php include('http://www.nutrimel.com.ar/includes/footer.html'); ?></div></td>


PD: yo puse margin: auto; pero no pasa naranja...

saludos...