Ver Mensaje Individual
  #6 (permalink)  
Antiguo 30/10/2010, 11:43
rodomiro
 
Fecha de Ingreso: agosto-2010
Mensajes: 156
Antigüedad: 13 años, 8 meses
Puntos: 1
Respuesta: Botón más ancho en Firefox

Ahh comprendo.. mira esto me funciono en Mozilla...

Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<
title>Untitled Document</title>
<
style>
* {
    
margin0 0 0 0;
    
padding0 0 0 0;
}

.
botonimagen{
  
margin:0 0 0 0;
  
padding:0 0 0 0;
  
background-image:url(negro.jpg);
  
background-repeat:no-repeat;
  
height:20px;
  
width:20px;
  
background-position:center;
  
border:none;
}

button::-moz-focus-inner {
    
bordernone;
}

button {
    
background-colorred;
    
bordernone;
}

</
style>
</
head>

<
body>
<
form>
    <
button type="submit" name="miBoton1" value="1">Mi botón</button>
    <
button type="submit" name="miBoton2" class="botonimagen" value="2"></button>
</
form>
</
body>
</
html
Ocupe una clase que le asigne al boton para darle el fondo, mira como quedo.

Saludos y suerte