Ver Mensaje Individual
  #2 (permalink)  
Antiguo 16/01/2013, 12:43
sebastopols
 
Fecha de Ingreso: marzo-2011
Mensajes: 342
Antigüedad: 13 años, 1 mes
Puntos: 97
Respuesta: Poner estilos a todos los div iguales

Podrías hacer algo así:

Código HTML:
Ver original
  1. <!DOCTYPE html>
  2. body
  3. {
  4. background-color:#d0e4fe;
  5. }
  6.  
  7. .s p
  8. {
  9. font-family:"Times New Roman";
  10. font-size:20px;
  11. }
  12.  
  13. </head>
  14.  
  15.  
  16. <div class="s">
  17. <p>This is a paragraph.</p>
  18. </div>
  19.  
  20. </body>
  21. </html>

... y probarlo acá, saludos.