Ver Mensaje Individual
  #1 (permalink)  
Antiguo 09/11/2012, 20:04
LABANDADELOSO
 
Fecha de Ingreso: octubre-2012
Mensajes: 74
Antigüedad: 11 años, 7 meses
Puntos: 0
cambiar color de fondo y alinear imagenes

Hola,
estoy comenzando a usar cakephp, y se me an presentado los siguientes problemas.

al mostrar la pagina home.ctp que se encuentra en la carpeta view/page , no me permite darle un color de fondo a la tabla, tampoco me permite centrar imagenes, y nose como achicar los input.

Este es el codigo que tengo:

<html>
<head>
</head>
<body>
<table width="1024" border="0" align="center">
<tr>
<td bgcolor="#000000"><table width="1025" border="0">
<tr>
<td width="155" bgcolor="#000000">
<?php echo $html->image('logotipo.png');?></td>
<td width="860" align="right">
<?php echo $html->image('Home.png');?>
<?php echo $html->image('buscar.png');?>
<?php echo $html->image('login.png');?>
<?php echo $html->image('registrar.png');?>
<?php echo $html->image('contacto.png');?>
</td>
</tr>
</table></td>
</tr>
<tr>
<td><?php echo $html->image('banner.jpg');?></td>
</tr>
<tr>
<td><?php echo $html->image('imagen1.jpg');?></td>
</tr>
<tr><td>
<?php echo $form->create('Hospedaje');?>
<?php
echo $form->input('rut :');
echo $form->input('nombre hospedaje :');
echo $form->input('direccion :');
echo $form->input('fono :');
echo $form->input('ciudad :');
echo $form->input('tipo hospedaje :');
?>
<?php echo $form->end('Regristar'); ?>
</td></tr>
</table>
</body>
</html>