Para quitar los márgenes en html debemos utilizar las propiedades del body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" rightmargin="0".
Lo anterior nos presentará una página con los textos pegados hasta arriba, al lado izquiero, derecho y abajo.
Aquí la plantilla para el ejemplo de html sin márgenes.
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" rightmargin="0">
<table width="760" height="100%" border="1" cellpadding="0" cellspacing="0">
<tr>
<td height="64">Encabezado.jpg</td>
</tr>
<tr>
<td height="100%" valign="top"><p> Contenido</p>
</td>
</tr>
<tr>
<td height="64">Pie de Página</td>
</tr>
</table>
</body>
</html>
<table width="760" height="100%" border="1" cellpadding="0" cellspacing="0">
<tr>
<td height="64">Encabezado.jpg</td>
</tr>
<tr>
<td height="100%" valign="top"><p> Contenido</p>
</td>
</tr>
<tr>
<td height="64">Pie de Página</td>
</tr>
</table>
</body>
</html>
0 comentarios: