Ver Mensaje Individual
  #1 (permalink)  
Antiguo 06/03/2013, 21:40
quilmes_05
 
Fecha de Ingreso: octubre-2010
Mensajes: 219
Antigüedad: 14 años, 4 meses
Puntos: 2
Pregunta plantilla web

Bueanas,estoy tratando de hacer tengo estos tres archivos:

INDEX.PHP
<?
require('encabezado.html');
require('cuerpo.html');
?>



ENCABEZADO.PHP


<div id="capa" style="border: 2px solid rgb(204, 102, 204);" align="center" height="100" width="100" >
<b>Esta es la cabezera de la web</b><br />

<FORM align="right">
USER<input type="text "/></BR>
PASSWORD<input type="password"/>
</form>

</div>

<style type="text/css">
/*<![CDATA[*/

#capa {

background-color: #FFA;
position:absolute;

width:600px;
height:100px;
text-align: center;
margin-left: 200px;
/*]]>*/
</style>


CUERPO.PHP

<div id="cuerpo" style="border: 2px solid rgb(204, 102, 204);" align="center" height="100" width="100" >
Cuerpo<br />

</div>

<style type="text/css">
/*<![CDATA[*/

#cuerpo {

background-color: #4FD;
position:absolute;

width:600px;
height:500px;
margin-top: 110px;
text-align: center;
margin-left: 200px;
/*]]>*/
</style>





mi duda es la siguiente,si tengo varias categorías o secciones por ej: mostrar una lista de usuarios ,otra mostrar los mejores post,como puedo hacer para manipular correctamente la etiqueta cuerpo para que me aparezca la info,suponiendo que me conecto a una base de datos y bla bla.