Ver Mensaje Individual
  #4 (permalink)  
Antiguo 28/11/2011, 08:38
jcmaganacruz
 
Fecha de Ingreso: abril-2011
Ubicación: 2º luna de Urano
Mensajes: 43
Antigüedad: 13 años
Puntos: 1
De acuerdo Respuesta: problema con IE9

Cita:
Iniciado por emprear Ver Mensaje
En realidad en IE9 se ve perfectamente con el código como lo pasaste, dónde falla es en ie8 e ie7, y eso es porque tu shorthand para background tiene un error, tendrias que separar los valores con un espacio, y entre url('imagen.png') y no-repeat no hay ninguno. Conclusión, todos los navegadores excepto ie8 e ie7 te pasan por alto el error, lo cual de echo, es un error.

Fijate por las dudas que ie9 no tenga la "vista de compatibilidad" activada.

Código funcionando

Código HTML:
Ver original
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  2. "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml">
  4. <title>titulo</title>
  5. <meta http-equiv="content-type" content="text/html; charset=utf-8" />
  6. <style type="text/css">
  7. /*<![CDATA[*/
  8. .boton_regreso{
  9. background: url('mdos.jpg') no-repeat;
  10. border:none;  
  11. width:10em;  
  12. height:4em;
  13. margin: auto;
  14. }  
  15. /*]]>*/
  16. </head>
  17. <input class="boton_regreso" type="submit" value="Regresar" name="Regresar" />
  18. </body>
  19. </html>

Saludos
increible que por un espacio no funcione alguna instruccion, te agradesco de sobremanera tu ayuda, pues he posteado 3 preguntas en este foro y eres el primero en contestar alguna de ellas. gracias amigo