Ver Mensaje Individual
  #2 (permalink)  
Antiguo 11/01/2007, 09:18
zsamer
 
Fecha de Ingreso: noviembre-2003
Mensajes: 798
Antigüedad: 20 años, 4 meses
Puntos: 8
Re: Problema para maquetar un catalogo de producto

Aquí dejo el codIgo css y html.

Agradecería mucho alguna idea o luz para solucionar el problema.

css:
Código PHP:
*{
    
margin0;
    
padding0;
}

body{
    
text-aligncenter;
    
font-sizesmall;
    
font-familyGeorgia"Times New Roman"serif;
    
background#369;
}

img{
    
displayblock;    
    
margin0;
    
padding0;
    
border0;
}

#home-productos-destacados{
    
width438px;
    
height420px;
    
margin15px auto 0 auto;
    
padding0px 0px 0px 0px;
    
background-color:#ccc;
    
text-aligncenter;
    
clearboth;
    
overflowhidden;
}

.
producto-destacado{
    
width207px;
    
height119px;
    
background-color:red;
    
floatleft;
    
overflowhidden;
    
padding0px;
    
margin0 12px 12px auto;
}

.
producto-destacado-header{
    
width207px;
    
height11px;
    
background-color:#fff;
    
text-alignleft;
    
margin0px;
    
padding0px;
    
clearboth;
}

.
producto-destacado-codigo{
    
width207px;
    
height11px;
    
background-color:#fff;
    
margin0px;
    
padding0px;
}

.
producto-destacado-codigo p{
    
font-familyVerdanaArialHelveticaSans Serif;
    
font-size9px;
    
color#333;
    
margin0px;
    
padding0px;
    
line-height8px;
}

.
producto-destacado-center{
    
width207px;
    
height93px;
    
margin0px;
    
padding0px;
    
background-color:#fff;
    
text-alignleft;
    
clearboth;
}

.
producto-destacado-img{
    
width108px;
    
height93px;
    
margin0px;
    
padding0px;
    
background-color:#ccc;
    
floatleft;
}

.
producto-destacado-resumen{
    
width99px;
    
height93px;
    
margin0px;
    
padding0px;
    
background-color:#fff;
    
floatleft;
}

.
producto-destacado-resumen h3{
    
font-familyVerdanaArialHelveticaSans Serif;
    
font-size11px;
    
FONT-WEIGHTbold;
    
color#AE0D01;
    
margin0px;
    
border0;
    
padding5px;
    
line-height11px;
}

.
producto-destacado-resumen p{
    
font-familyVerdanaArialHelveticaSans Serif;
    
font-size11px;
    
color#333;
    
margin0px;
    
padding0px 5px 0px 5px;
    
line-height11px;
}

.
producto-destacado-footer{
    
width207px;
    
height15px;
    
margin0px;
    
padding0px;
    
background-color#ccc;
    
text-alignleft;
    
overflowhidden;
}

.
imagen-zoom{
    
width17px;
    
height15px;
    
margin0px;
    
padding0px;
    
border-right1px solid #fff;
    
background-color#fff;
    
floatleft;
    
clearnone;
}
.
producto-info{
    
width37px;
    
height15px;
    
margin0px;
    
padding0px;
    
border-right1px solid #fff;
    
background-color#fff;
    
floatleft;
    
clearnone;
}

.
producto-add{
    
/*width: 26px;*/
    
width104px;
    
height15px;
    
margin0px;
    
padding0px;
    
/*border-right: 78px solid #fff;*/
    
background-color#999;
    
floatleft;
    
clearnone;
}

.
ver-mas{
    
width47px;
    
height15px;
    
margin0px;
    
padding0px;
    
background-color#fff;
    
floatleft;
    
clearnone;

html:
Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
title>Banquete</title>
<
link rel="STYLESHEET" type="text/css" href="estilo.css" />
</
head>
<
body>

<
div id="home-productos-destacados">
<!-- 
INICIA LOOP PRODUCTOS DESTACADOS -->

    <!-- 
INICIA PRODUCTO -->
    <
div class="producto-destacado">
    
        <
div class="producto-destacado-header">
            <
div class="producto-destacado-codigo">
                <
p>COD123456</p>
            </
div>
        </
div>
        
        <
div class="producto-destacado-center">
            <
div class="producto-destacado-img">
                <
img src="productos-001.jpg" alt="Producto Titulo" title="Producto Titulo" />
            </
div>
            <
div class="producto-destacado-resumen">
                <
h3>CARAMELO Y HELADO</h3>
                <
p>Ideal para este verano es este exisito postre con helado de vainilla y ...</p>
            </
div>
        </
div>
        
        <
div class="producto-destacado-footer">
            <
div class="imagen-zoom">
                <
img src="productos-img.jpg" alt="Agrandar Imágen" title="Agrandar Imágen" />
            </
div>
            <
div class="producto-info">
                <
img src="productos-info.jpg" alt="Detalle Producto" title="Detalle Producto" />
            </
div>
            <
div class="producto-add">
                <
img src="productos-add.jpg" alt="Agregar al Carro" title="Agregar al Carro" />
            </
div>
            <
div class="ver-mas">
                <
img src="productos-leermas.jpg" alt="Agregar al Carro" title="Agregar al Carro" />
            </
div>
        </
div>
        
    </
div>
    <!-- 
FIN PRODUCTO -->            
    <!-- 
INICIA PRODUCTO -->
    <
div class="producto-destacado">
    
        <
div class="producto-destacado-header">
            <
div class="producto-destacado-codigo">
                <
p>COD123456</p>
            </
div>
        </
div>
        
        <
div class="producto-destacado-center">
            <
div class="producto-destacado-img">
                <
img src="productos-001.jpg" alt="Producto Titulo" title="Producto Titulo" />
            </
div>
            <
div class="producto-destacado-resumen">
                <
h3>CARAMELO Y HELADO</h3>
                <
p>Ideal para este verano es este exisito postre con helado de vainilla y ...</p>
            </
div>
        </
div>
        
        <
div class="producto-destacado-footer">
            <
div class="imagen-zoom">
                <
img src="productos-img.jpg" alt="Agrandar Imágen" title="Agrandar Imágen" />
            </
div>
            <
div class="producto-info">
                <
img src="productos-info.jpg" alt="Detalle Producto" title="Detalle Producto" />
            </
div>
            <
div class="producto-add">
                <
img src="productos-add.jpg" alt="Agregar al Carro" title="Agregar al Carro" />
            </
div>
            <
div class="ver-mas">
                <
img src="productos-leermas.jpg" alt="Agregar al Carro" title="Agregar al Carro" />
            </
div>
        </
div>
        
    </
div>
    <!-- 
FIN PRODUCTO -->
    <!-- 
INICIA PRODUCTO -->
    <
div class="producto-destacado">
    
        <
div class="producto-destacado-header">
            <
div class="producto-destacado-codigo">
                <
p>COD123456</p>
            </
div>
        </
div>
        
        <
div class="producto-destacado-center">
            <
div class="producto-destacado-img">
                <
img src="productos-001.jpg" alt="Producto Titulo" title="Producto Titulo" />
            </
div>
            <
div class="producto-destacado-resumen">
                <
h3>CARAMELO Y HELADO</h3>
                <
p>Ideal para este verano es este exisito postre con helado de vainilla y ...</p>
            </
div>
        </
div>
        
        <
div class="producto-destacado-footer">
            <
div class="imagen-zoom">
                <
img src="productos-img.jpg" alt="Agrandar Imágen" title="Agrandar Imágen" />
            </
div>
            <
div class="producto-info">
                <
img src="productos-info.jpg" alt="Detalle Producto" title="Detalle Producto" />
            </
div>
            <
div class="producto-add">
                <
img src="productos-add.jpg" alt="Agregar al Carro" title="Agregar al Carro" />
            </
div>
            <
div class="ver-mas">
                <
img src="productos-leermas.jpg" alt="Agregar al Carro" title="Agregar al Carro" />
            </
div>
        </
div>
        
    </
div>
    <!-- 
FIN PRODUCTO -->
    <!-- 
INICIA PRODUCTO -->
    <
div class="producto-destacado">
    
        <
div class="producto-destacado-header">
            <
div class="producto-destacado-codigo">
                <
p>COD123456</p>
            </
div>
        </
div>
        
        <
div class="producto-destacado-center">
            <
div class="producto-destacado-img">
                <
img class="producto-destacado-img2" src="productos-001.jpg" alt="Producto Titulo" title="Producto Titulo" />
            </
div>
            <
div class="producto-destacado-resumen">
                <
h3>CARAMELO Y HELADO</h3>
                <
p>Ideal para este verano es este exisito postre con helado de vainilla y ...</p>
            </
div>
        </
div>
        
        <
div class="producto-destacado-footer">
            <
div class="imagen-zoom">
                <
img src="productos-img.jpg" alt="Agrandar Imágen" title="Agrandar Imágen" />
            </
div>
            <
div class="producto-info">
                <
img src="productos-info.jpg" alt="Detalle Producto" title="Detalle Producto" />
            </
div>
            <
div class="producto-add">
                <
img src="productos-add.jpg" alt="Agregar al Carro" title="Agregar al Carro" />
            </
div>
            <
div class="ver-mas">
                <
img src="productos-leermas.jpg" alt="Agregar al Carro" title="Agregar al Carro" />
            </
div>
        </
div>
        
    </
div>
    <!-- 
FIN PRODUCTO -->
    
    
<!-- 
FINALIZA LOOP PRODUCTOS DESTACADOS -->
</
div>
    
</
body>
</
html