Ver Mensaje Individual
  #7 (permalink)  
Antiguo 17/10/2012, 13:47
Avatar de Jodorem
Jodorem
 
Fecha de Ingreso: abril-2012
Mensajes: 18
Antigüedad: 12 años
Puntos: 1
Respuesta: CSS condicional Opera

Amigo, para que no tengas problemas de compatibilidad con ningun explorador, coloca esto antes del tag <html>

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">

Para un reset, yo siempre uso algo como esto:

Código CSS:
Ver original
  1. html, body, span, applet, object, iframe,
  2. blockquote, pre,
  3. a, abbr, acronym, address, big, cite, code,
  4. del, dfn, em, font, img, ins, kbd, q, s, samp,
  5. small, strike, strong, sub, sup, tt, var,
  6. dl, dt, dd, ol, ul, li,
  7. fieldset, form, label, legend, caption, tbody, tfoot, thead {
  8.         margin: 0;
  9.         padding: 0;
  10.         border: 0;
  11.         outline: 0;
  12.         font-weight: inherit;
  13.         font-style: inherit;
  14.         font-size: 100%;
  15.         font-family: inherit;
  16. }
  17. /* remember to define focus styles! */
  18. :focus {
  19.         outline: 0;
  20. }
  21. body {
  22.         line-height: 1;
  23.         color: black;
  24.         background-color:#FFFFFF;
  25.         background-repeat: repeat-x;
  26.         z-index: 1;
  27. }
  28. ol, ul {
  29.         list-style: none;
  30. }
  31. /* tables still need 'cellspacing="0"' in the markup */
  32. table {
  33.         border-collapse: separate;
  34.         border-spacing: 0;
  35.        
  36. }
  37. caption {
  38.         text-align: left;
  39.         font-weight: normal;
  40. }
  41. blockquote:before, blockquote:after,
  42. q:before, q:after {
  43.         content: "";
  44. }
  45. blockquote, q {
  46.         quotes: "" "";
  47. }

Con estos códigos jámas he tenido problemas triviales entre los navegadores como en tu caso que resulta ser muy molesto...