En el index.html tengo esto:
Código :
<html> <head> <title></title> <LINK REL="stylesheet" TYPE="text/css" HREF="estilo.css"> </head> <body> <div id="contenedor"> <div id="cabecera"></div> <div id="C01">C01</div> <div id="C02">CO2</div> </div><!-- fin contenedor --> </body> </html>
En la hoja de estilo tengo esto:
Código :
/* CSS Document */ body{ margin:0; } #contenedor{ } #cabecera{ background-image:url(/imagenes/imagenfondo.jpg); background-repeat:no-repeat; background-position:left; } #C01{ } #C02 { }