Ver Mensaje Individual
  #1 (permalink)  
Antiguo 03/12/2008, 12:39
Avatar de magam
magam
 
Fecha de Ingreso: julio-2006
Ubicación: Florencio Varela, Buenos Aires, Argentina
Mensajes: 97
Antigüedad: 17 años, 10 meses
Puntos: 1
Boton con css no se ejecuta

Buenas, tengo el siguiente problema.
cambie un boton y le puseimagen de fondo.
mi problema es que el boton ahora no cumple con su funcion solamente hago clic y queda ahi. les paso lo que tengo.

EL CSS
Código PHP:
a.botones{
    
backgroundtransparent url('../images/botones/botonIzOn.gif'no-repeat top left;
    
displayblock;
    
floatleft;
    
fontnormal 13px Arial/* Change 13px as desired */
    
line-height13px/* This value + 4px + 4px (top and bottom padding of SPAN) must equal height of button background (default is 24px) */
    
height21px/* Height of button background height */
    
padding-left7px/* Width of left menu image */
    
text-decorationnone;
    
color#0C2E72;

}


a:link.botonesa:visited.botonesa:active.botones{
    
color#0C2E72; /*button text color*/
}

a.botones span{
    
backgroundtransparent url('../images/botones/botonDerOn.gif'no-repeat top right;
    
displayblock;
    
padding4px 7px 4px 0/*Set 7px below to match value of 'padding-left' value above*/
}



a.botones:hover/* Hover state CSS */
    
backgroundtransparent url('../images/botones/botonIzOff.gif'no-repeat top left;
    
background-positionbottom left;
    
text-decorationnone;
}

a.botones:hover span/* Hover state CSS */
    
backgroundtransparent url('../images/botones/botonDerOff.gif'no-repeat top right;
    
background-positionbottom right;
    
color#0C2E72;
    
text-decorationnone;

}

.
botoneswrapper/* Container you can use to surround a CSS button to clear float */
    
overflowhidden;
    
width100%;

}


button.botones {

        
background:transparent url(../images/botones/botonIzOn.gifleft bottom no-repeat;
        
border:medium none;
        
clear:left;
        
color#0C2E72;
        
cursor:pointer;
        
font-family:Arial;
        
font-size:13px;
        
padding-left4px;
        
line-height13px;
        
height23px;
        
margin-top2px;

        }


button.botones span {

               
background:transparent url(../images/botones/botonDerOn.gifright top no-repeat;
               
displayblock;
               
padding3px 7px 3px 0;

}



button.botones:hover  {
    
backgroundtransparent url('../images/botones/botonIzOff.gif'no-repeat top left;
    
background-positionbottom left;
    
text-decorationnone;
}

button.botones:hover span {
    
backgroundtransparent url('../images/botones/botonDerOff.gif'no-repeat top right;
    
background-positionbottom right;
    
color#0C2E72;
    
text-decorationnone;


Y EL CODIGO DE BOTON ES:


Código PHP:
<div class="botoneswrapper">
                <
class="botones" href="#"  onclick="location.href='${ctx}/prestamos/consultaCronogramaPrestamo.htm?id_prestamoOtorgado=${prestamo.uniqueId}'"><span><fmt:message key="boton.volver"/></span></a>
            </
div