Ver Mensaje Individual
  #20 (permalink)  
Antiguo 07/05/2013, 01:25
Avatar de pitufoweb
pitufoweb
 
Fecha de Ingreso: enero-2008
Ubicación: Un Mundo Raro
Mensajes: 1.148
Antigüedad: 16 años, 3 meses
Puntos: 181
Respuesta: Yo pongo #id{border:0;margin:0;padding:0;} y continua con 5 px de espaciam

Bien,


Solo agrega en el doctype y declaracion de XML y se vera bien.

Código HTML:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html> 
<head><title>Plantilla 1</title><style type="text/css"> 
html,body{ 
border:0; 
margin:0; 
padding:0; 
font-family:Arial; 
font-size:9pt; 
color:#000; 
background:#aabbcc; 
} 
#cosmos{ 
border:0; 
padding:0; 
color:#000; 
background:#ff952b; 
height:100%; 
} 
#enlaces{ 
float:left; 
} 
#info{ 
height:100%; 
background:#ffb878; 
color:#000; 
margin-left:12em; 
} 
p{ 
margin:0; 
} 
</style></head><body> 
<?php 
    echo '<div id="cosmos">'; 
    echo '<div id="enlaces">';for($i=0;$i<69;$i++)echo '<p>Link #'.$i.'</p>';echo '</div>'; 
    echo '<div id="info">';for($i=0;$i<69;$i++)echo '<p>Linea de info real #'.$i.'</p>';echo '</div>'; 
    echo '</div></body></html>'; 
?> 

Saludos
__________________
------------- " La felicidad no llega de afuera, nace desde dentro. " -------------