Tema: Pregunta css
Ver Mensaje Individual
  #8 (permalink)  
Antiguo 25/08/2009, 06:04
Nathan_1979
 
Fecha de Ingreso: mayo-2007
Mensajes: 348
Antigüedad: 17 años
Puntos: 9
Respuesta: Pregunta css

Ejemplo:

Código html:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  4.  <head>
  5.  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
  6.  
  7. <title>Documento sin t&iacute;tulo</title>
  8. <style type="text/css">
  9.  
  10. .uno.dos {
  11.     color:#FF3366;
  12. }
  13. .tres.dos {
  14.     color:#99CCFF;
  15. }
  16.  
  17. </head>
  18.  
  19.  
  20.  
  21. <p class="uno dos">hola</p>
  22.  
  23. </body>
  24. </html>

Un saludo.