Ver Mensaje Individual
  #19 (permalink)  
Antiguo 07/05/2013, 01:13
Anarko
 
Fecha de Ingreso: febrero-2004
Mensajes: 1.987
Antigüedad: 20 años, 2 meses
Puntos: 22
Respuesta: Yo pongo #id{border:0;margin:0;padding:0;} y continua con 5 px de espaciam

Cita:
Iniciado por pitufoweb Ver Mensaje
Como tendría que verse?
Exactamente como lo que veras en el siguiente código que no tiene info:
Código PHP:
<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<9;$i++)echo '<p>Link #'.$i.'</p>';echo '</div>';
    echo 
'<div id="info">';for($i=0;$i<9;$i++)echo '<p>Linea de info real #'.$i.'</p>';echo '</div>';
    echo 
'</div></body></html>';
?>
Pero mira ESA ELEMENTAL template cómo se comporta con MAS LINEAS:
Código PHP:
<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<9;$i++)echo '<p>Linea de info real #'.$i.'</p>';echo '</div>';
    echo 
'</div></body></html>';
?>
y mira con estas otras LINEAS DE INFO:
Código PHP:
<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<9;$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>';
?>
NOTA: hay que mirar al FINAL DE LA PÁGINA!