![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
23/04/2012, 03:48
|
| | Fecha de Ingreso: junio-2005 Ubicación: Barcelona
Mensajes: 458
Antigüedad: 19 años, 8 meses Puntos: 4 | |
Respuesta: css en un select Gracias por las respuestas pero sigue sin salir. Os pongo los codigos.
test.php Código PHP: <Html>
<head>
<link rel="stylesheet" href="all.css" type="text/css" />
</head>
<body>
<select class="degradado">
<option value=1>OPCION UNO DE PRUEBA</option>
<option value=2>OPCION DOS DE PRUEBA</option>
</select>
</body>
</html>
all.css
Código:
.degradado{
margin: 3px 0 0 0;
padding: 6px;
width: 260px;
font-family: arial, sans-serif;
font-size: 12px;
border: 1px solid #ccc;
background: -webkit-gradient(linear, left top, left 15, from(#E6E6E6), color-stop(4%, #BDBDBD), to(#999));
background: -moz-linear-gradient(top, #E6E6E6, #f4f4f4 1px, #999 15px);
}
.degradado2{
background: -ms-linear-gradient(bottom, rgb(160,244,140) 17%, rgb(192,255,168) 59%);
}
Sin embargo el resultado es con el fondo blanco
Alguna idea??
Gracias
__________________ La ficción es y será mi única realidad |