Ver Mensaje Individual
  #2 (permalink)  
Antiguo 04/08/2010, 23:58
canino_latino
 
Fecha de Ingreso: enero-2010
Mensajes: 113
Antigüedad: 14 años, 3 meses
Puntos: 2
Respuesta: Problema con DIV

coloca tu css asi:

Código CSS:
Ver original
  1. .noticia_principal  {
  2.                 text-align: center;
  3.                 margin: 0 auto;
  4.                 width: 700px;
  5.                 height: 410px;
  6.                 overflow: hidden;
  7.                 }
  8.         .op {
  9.                 background-color: black;
  10.                 height: 303px;
  11.                 width: 335px;
  12.                 opacity: 0.6;   /* Opacidad para Firefox */
  13.                 filter: alpha(opacity=50);  /* Opacidad para IE */
  14.                 position: relative;
  15.                 left: 40px;
  16.                 bottom: 303px;
  17.                 }
  18.         .foto   {
  19.                 position: relative;
  20.                 top: 0px;
  21.                 left: 0px;
  22.                 }

esta parte es la que hace todo:

Código CSS:
Ver original
  1. overflow: hidden;

Chao espero te sirva.