Ver Mensaje Individual
  #1 (permalink)  
Antiguo 23/09/2010, 09:49
DJJJ
 
Fecha de Ingreso: octubre-2005
Mensajes: 407
Antigüedad: 18 años, 6 meses
Puntos: 2
estilo dentro de caja div

hola.

tengo un caja con bordes redondeados que genere con round corner

CSS
Código HTML:
Ver original
  1. .roundedcornr_box_324801 {
  2.    background: #cccccc;
  3. }
  4. .roundedcornr_top_324801 div {
  5.    background: url(roundedcornr_324801_tl.png) no-repeat top left;
  6. }
  7. .roundedcornr_top_324801 {
  8.    background: url(roundedcornr_324801_tr.png) no-repeat top right;
  9. }
  10. .roundedcornr_bottom_324801 div {
  11.    background: url(roundedcornr_324801_bl.png) no-repeat bottom left;
  12. }
  13. .roundedcornr_bottom_324801 {
  14.    background: url(roundedcornr_324801_br.png) no-repeat bottom right;
  15. }
  16.  
  17. .roundedcornr_top_324801 div, .roundedcornr_top_324801,
  18. .roundedcornr_bottom_324801 div, .roundedcornr_bottom_324801 {
  19.    width: 100%;
  20.    height: 10px;
  21.    font-size: 1px;
  22. }
  23. .roundedcornr_content_324801 { margin: 0 10px; }

a la cual le agregue:

Código HTML:
Ver original
  1. .buscar {
  2. font-size: 10px;
  3. color:#ff0000;
  4. }

HTML
Código HTML:
Ver original
  1. <div class="roundedcornr_box_324801">
  2.    <div class="roundedcornr_top_324801"><div></div></div>
  3.       <div class="roundedcornr_content_324801">
  4.          <p class="buscar">Lorem ipsum dolor sit amet, consectetur
  5.          adipisicing elit, sed do eiusmod tempor incididunt
  6.          ut labore et dolore magna aliqua. Ut enim ad minim
  7.          veniam, quis nostrud exercitation ullamco laboris
  8.          nisi ut aliquip ex ea commodo consequat. Duis aute
  9.          irure dolor in reprehenderit in voluptate velit esse
  10.          cillum dolore eu fugiat nulla pariatur. Excepteur
  11.          sint occaecat cupidatat non proident, sunt in culpa
  12.          qui officia deserunt mollit anim id est laborum.
  13. </p>
  14.       </div>
  15.    <div class="roundedcornr_bottom_324801"><div></div></div>
  16. </div>



el problema es que en la etiqueta <p> no me toma el estilo "buscar" que hice
alguna ayuda?
__________________
DJJJ