Ver Mensaje Individual
  #1 (permalink)  
Antiguo 15/06/2009, 09:40
sergi_climent
 
Fecha de Ingreso: enero-2005
Ubicación: Barcelona
Mensajes: 1.473
Antigüedad: 19 años, 3 meses
Puntos: 10
Validacion CSS

Hola, estoy validando mi CSS y me salta el siguiente error y warnings

Cita:
177 #information La propiedad opacity no existe en CSS versión 2.1 pero existe en [css3] : 0.7
177 #information Error de análisis sintáctico opacity=70)
185 #imglink La propiedad opacity no existe en CSS versión 2.1 pero existe en [css3] : 0.4
185 #imglink Error de análisis sintáctico opacity=40)
Cita:
7 Color de primer plano y color de fondo iguales en dos contextos #slideright:hover y body
7 Color de primer plano y color de fondo iguales en dos contextos #slideleft:hover y body
47 Color de primer plano y color de fondo iguales en dos contextos #slideleft:hover y #menu a:active
47 Color de primer plano y color de fondo iguales en dos contextos #slideright:hover y #menu a:visited
47 Color de primer plano y color de fondo iguales en dos contextos #slideleft:hover y #menu a:visited
47 Color de primer plano y color de fondo iguales en dos contextos #slideright:hover y #menu a:active
47 Color de primer plano y color de fondo iguales en dos contextos #slideright:hover y #menu a:link
47 Color de primer plano y color de fondo iguales en dos contextos #slideleft:hover y #menu a:link
47 Color de primer plano y color de fondo iguales en dos contextos #slideright:hover y #menu a:hover
47 Color de primer plano y color de fondo iguales en dos contextos #slideleft:hover y #menu a:hover
62 Color de primer plano y color de fondo iguales en dos contextos #slideright:hover y #menu-inf a:hover
62 Color de primer plano y color de fondo iguales en dos contextos #slideleft:hover y #menu-inf a:active
62 Color de primer plano y color de fondo iguales en dos contextos #slideleft:hover y #menu-inf a:link
62 Color de primer plano y color de fondo iguales en dos contextos #slideright:hover y #menu-inf a:active
62 Color de primer plano y color de fondo iguales en dos contextos #slideleft:hover y #menu-inf a:visited
62 Color de primer plano y color de fondo iguales en dos contextos #slideleft:hover y #menu-inf a:hover
62 Color de primer plano y color de fondo iguales en dos contextos #slideright:hover y #menu-inf a:visited
62 Color de primer plano y color de fondo iguales en dos contextos #slideright:hover y #menu-inf a:link
el css es el siguiente:

Código css:
Ver original
  1. body {
  2.     background-image:url(../img/fondo.gif);
  3.     margin:0;
  4.     padding:0;
  5.     font-family:Verdana, Geneva, sans-serif;
  6.     font-size:9pt;
  7.     color:#333333;
  8. }
  9.  
  10. #contenido {
  11.     margin:0 auto 0 auto;
  12.     width:773px;
  13.     background-image:url(../img/fondo2.gif);
  14.     background-repeat:repeat-y;
  15. }
  16.  
  17. #cabecera {
  18.     margin:0px 10px 0px 10px;
  19.     height:110px;
  20. }
  21.  
  22. #cabecera img {
  23.     border:0;
  24.     float:left;
  25.     margin-left:250px;
  26.     margin-top:4px;
  27. }
  28.  
  29.  
  30. #menu {
  31.     width:736px;
  32.     height:31px;
  33.     background-image:url(../img/fons-menu.jpg);
  34.     background-repeat:no-repeat;
  35.     margin-left:19px;
  36.     padding-left:20px;
  37. }
  38.  
  39. #menu img {
  40.     margin:0 20px 0 20px;
  41.     vertical-align:middle;
  42. }
  43.  
  44. #menu a:link, #menu a:visited, #menu a:hover, #menu a:active {
  45.     text-decoration:none;
  46.     font-size:11pt;
  47.     color:#333333;
  48. }
  49.  
  50. #menu-inf {
  51.     border-top:1px solid #333333;
  52.     width:736px;
  53.     margin-left:19px;
  54.     text-align:center;
  55.     padding:8px 0 8px 0;
  56.     margin-top:0;
  57. }
  58.  
  59. #menu-inf a:link, #menu-inf a:visited, #menu-inf a:hover, #menu-inf a:active {
  60.     text-decoration:none;
  61.     font-size:11pt;
  62.     color:#333333;
  63. }
  64.  
  65. #cos {
  66.     margin:10px 40px 40px 40px;
  67.     min-height:400px;
  68. }
  69.  
  70. #cos #titol {
  71.     font-family:Verdana, Geneva, sans-serif;
  72.     color:#5A1011;;
  73.     font-size:16pt;
  74.     border-bottom:3px double #5A1011;
  75.     margin-bottom:20px;
  76. }
  77.  
  78. #cos #titol .primera-lletra {
  79.     font-size:25pt;
  80. }
  81.  
  82. #cos p {
  83.     text-align:justify;
  84. }
  85.  
  86. #tit-index {
  87.     font-size:11pt;
  88.     font-weight:bold;
  89.     margin-top:20px;
  90. }
  91.  
  92. p.principal {
  93.     text-align:justify;
  94.     width:600px;
  95.     margin-left:20px;
  96. }
  97.  
  98. img.principal {
  99.     padding:1px 1px 1px 1px;
  100.     border:1px solid #cccccc;
  101.     margin-right:20px;
  102. }
  103.  
  104. #promocions{
  105.     margin-top:25px;
  106.     border:1px solid #cccccc;
  107.  
  108. }
  109.  
  110. #imatges-portada{
  111.     margin-top:50px;
  112.     width:800px;
  113.     border:0px solid #cccccc;
  114.  
  115. }
  116. #cont-tendes {
  117.     width:672px;
  118.     margin:auto;
  119.     overflow:auto;
  120. }
  121.  
  122. .tenda{
  123.     padding:0;
  124.     width:210px;
  125.     float:left;
  126.     background:transparent;
  127.     height:auto;
  128.     margin-right:10px;
  129.     margin-bottom:10px;
  130. }
  131.  
  132.  
  133. img.principal {
  134.     padding:1px 1px 1px 1px;
  135.     border:1px solid #cccccc;
  136.     margin-right:5px;
  137. }
  138.  
  139.  
  140. #bottom {
  141.     background-image:url(../img/bottom.gif);
  142.     background-repeat:no-repeat;
  143.     width:774px;
  144.     height:9px;
  145.     margin:0 auto 0 auto;
  146.     padding:0;
  147. }
  148.  
  149. #validator {
  150.     margin-left:900px;
  151. }
  152.  
  153. #contacte{
  154.     width:250px;
  155.     margin-left:30px;
  156.     overflow:auto;
  157. }
  158.  
  159.  
  160. /**************************************************************************************************************/
  161.  
  162. a span {visibility:hidden;color:white;text-align:center;font:bold 14px "Trebuchet MS",arial;position:absolute;top:105px;left:325px;visibility:hidden;border:5px solid #fff;z-index:10;}
  163. a:hover img.min {z-index:100;border:1px solid red;}
  164. a:hover {display:inline;z-index:100;} /* Hace que funcione en IE6*/
  165. a:hover span {visibility:visible;border:5px solid #fff;background:#000000;z-index:100;}
  166. a:hover span img {visibility:visible;z-index:100;}     
  167. a:focus span , a:active span  {visibility:visible;z-index:10;background:#000000;}
  168. a img.fotos {border:1px solid white;margin:5px;}
  169.  
  170.  
  171. /**************************************************************************************************************/
  172. #slideshow {list-style:none; color:#fff}
  173. #slideshow span {display:none}
  174. #wrapper {width:506px; margin:50px auto; display:none}
  175. #wrapper * {margin:0; padding:0}
  176. #fullsize {position:relative; width:500px; height:300px; padding:2px; border:1px solid #ccc; background:#000}
  177. #information {position:absolute; bottom:0; width:500px; height:0; background:#000; color:#fff; overflow:hidden; z-index:200; opacity:.7; filter: alpha(opacity=70)}
  178. #information h3 {padding:4px 8px 3px; font-size:14px}
  179. #information p {padding:0 8px 8px}
  180. #image {width:500px}
  181. #image img {position:absolute; z-index:25; width:auto}
  182. .imgnav {position:absolute; width:25%; height:306px; cursor:pointer; z-index:150}
  183. #imgprev {left:0; background:url(../img/left.gif) left center no-repeat}
  184. #imgnext {right:0; background:url(../img/right.gif) right center no-repeat}
  185. #imglink {position:absolute; height:306px; width:100%; z-index:100; opacity:.4; filter: alpha(opacity=40);}
  186. .linkhover {background:url(../img/link.gif) center center no-repeat}
  187. #thumbnails {margin-top:15px}
  188. #slideleft {float:left; width:20px; height:81px; background:url(../img/scroll-left.gif) center center no-repeat; background-color:#222}
  189. #slideleft:hover {background-color:#333}
  190. #slideright {float:right; width:20px; height:81px; background:#222 url(../img/scroll-right.gif) center center no-repeat}
  191. #slideright:hover {background-color:#333}
  192. #slidearea {float:left; position:relative; width:456px; margin-left:5px; height:81px; overflow:hidden}
  193. #slider {position:absolute; left:0; height:81px}
  194. #slider img {cursor:pointer; border:1px solid #666; padding:2px}
  195.  
  196. /**************************************************************************************************************/

Como puedo superar la prueba sin que se vea afectado mi diseño?

Saludos y gracias de antemano
__________________
"Cada hombre es el hijo de su propio trabajo"
Miguel de Cervantes Saavedra
"La experiencia es algo que no consigues hasta justo depués de necesitarla"
Laurence Olivier