Ver Mensaje Individual
  #11 (permalink)  
Antiguo 04/10/2013, 13:09
Avatar de jor_0203
jor_0203
 
Fecha de Ingreso: octubre-2011
Ubicación: mexico
Mensajes: 760
Antigüedad: 12 años, 6 meses
Puntos: 8
Respuesta: En css se puede hacer esto class="uno,dos" hay una forma

Cita:
Iniciado por faillure Ver Mensaje
la barra invertida sive en css para escapar caracteres (usar los no permitidos o reservados)
¿quieres es dos o mas reglas distintas al mismo elemento?
Código CSS:
Ver original
  1. .uno{background:#FF3300;}
  2. .dos{font-size: 24px; text-decoration: underline; }
fácil
Código HTML:
Ver original
  1. <p class="uno dos">nombre</p>
incluirlas en el attr class separadas por un espacio en blanco
LO PUSE ASI Y NO QUEDA COMO TU ME DICES Y NO QUEDA

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  2. <html xmlns="http://www.w3.org/1999/xhtml">
  3. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  4. <title>Documento sin t&iacute;tulo</title>
  5. <style type="text/css">
  6. <!--
  7. .sd2{
  8.     background:#FF9900;
  9.    
  10. }
  11. .sd{
  12.     font-size: 36px;
  13. }
  14. -->
  15. </head>
  16.  
  17. <p class="'sd2 sd">jorge</p>
  18. </body>
  19. </html>