Cita:
Iniciado por willyfc pero como se ve ahora, coloca tu código o cuelga algo en la red para ver que es lo que le pasa
todo el css
Código PHP:
a.botones{
background: transparent url('../images/botones/botonIzOn.gif') no-repeat top left;
display: block;
float: left;
font: normal 13px Arial; /* Change 13px as desired */
line-height: 13px; /* This value + 4px + 4px (top and bottom padding of SPAN) must equal height of button background (default is 24px) */
height: 21px; /* Height of button background height */
padding-left: 7px; /* Width of left menu image */
text-decoration: none;
color: #0C2E72;
text-align: right;
}
a:link.botones, a:visited.botones, a:active.botones{
color: #0C2E72; /*button text color*/
}
a.botones span{
background: transparent url('../images/botones/botonDerOn.gif') no-repeat top right;
display: block;
padding: 4px 7px 4px 0; /*Set 7px below to match value of 'padding-left' value above*/
}
a.botones:hover{ /* Hover state CSS */
background: transparent url('../images/botones/botonIzOff.gif') no-repeat top left;
background-position: bottom left;
text-decoration: none;
}
a.botones:hover span{ /* Hover state CSS */
background: transparent url('../images/botones/botonDerOff.gif') no-repeat top right;
background-position: bottom right;
color: #0C2E72;
text-decoration: none;
}
.botoneswrapper{ /* Container you can use to surround a CSS button to clear float */
//overflow: hidden;
width: 100%;
height: 28px;
padding-top:10px;
text-align:center;
}
button.botones {
background:transparent url('../images/botones/botonIzOn.gif') left /*bottom*/ no-repeat;
border:medium none;
float: left;
font: normal 13px Arial; /* Change 13px as desired */
line-height: 13px; /* This value + 4px + 4px (top and bottom padding of SPAN) must equal height of button background (default is 24px) */
height: 23px; /* Height of button background height */
padding-left: 4px; /* Width of left menu image */
text-decoration: none;
color: #0C2E72;
}
button.botones span {
background:transparent url('../images/botones/botonDerOn.gif') right top no-repeat;
display: block;
padding: 4px 7px 4px 0;
}
button.botones:hover {
background: transparent url('../images/botones/botonIzOff.gif') no-repeat top left;
background-position: /*bottom*/ left;
text-decoration: none;
}
button.botones:hover span {
background: transparent url('../images/botones/botonDerOff.gif') no-repeat top right;
background-position: top right;
color: #0C2E72;
text-decoration: none;
}
#subButton {
overflow: hidden;
width: 100%;
height: 28px;
padding-left: 45%;
}
#subButton span {
float:left;
width:.1em;
background-image:url('../images/botones/botonIzOn.gif');
background-repeat:no-repeat;
background-position:top left;
padding-left:7px;
text-decoration:none;
}
#subButton>input {width:auto;}
#subButton span input {
float:left;
background-color:#FFFFFF;
background-image:url('../images/botones/botonDerOn.gif');
background-repeat:no-repeat;
background-position:top right;
color: #0C2E72;
display:block;
margin:0;
font-family:Arial;
font-size:13px;
padding-top:2px;
padding-bottom:7px;
padding-right:10px;
padding-left:2px;
font-weight:normal;
border-left: 0px;
border-bottom: 0px;
border-right: 0px;
border-top: 0px;
}
}
la parte del jsp
Código PHP:
<div class="botoneswrapper" >
<a class="botones" href="#" style="margin-left:23%" id="alta" value="${alta}" onclick="window.location = '${ctx}/inversiones/altaPlazoFijo.htm'"><span><fmt:message key="inversiones.consultaPlazoFijo.boton.altaPlazoFijo"/></span></a>
<a class="botones" href="#" style="margin-left:2%;" id="consulta" value="${consultaTasa}" onclick="window.location = '${ctx}/inversiones/consultaCuadroTasasPF.htm'"><span><fmt:message key="inversiones.consultaPlazoFijo.boton.consultaTasa"/></span></a>
</div>
En FF y el IE7 se ven bien pero en ie6 se ve mas corrido a la derecha.
muchas gracias a quien pueda ayudarme.