Este código me permite hacer un botón con roll over muy flexible. Pero si el texto es 
de una sola línea me queda "pegado arriba". ¿Alguien me puede ayudar para centrar esa 
línea en el sentido vertical?

Código:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" 
"http://www.w3.org/TR/html4/loose.dtd";>
<html xmlns="http://www.w3.org/1999/xhtml"; lang="es" xml:lang="es">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
.bt {
 font-family: Verdana, Arial, Helvetica, sans-serif;
 color: yellow;
 font-size:10px;
 font-weight:bold;
 text-decoration: none;
 background-color: #006600;
 display: block;
 width: 118px;
 height: 24px;
 text-align: center;
 
}

.bt:hover
{
 background-color: red;
 color:#fff; 
 text-decoration: none;
 display: block;


}
-->
</style>
</head>

<body>
<a href=#  class="bt">Botón</a> 
</body>
</html>

Muchas gracias.
Emilio
_______________________________________________
Lista de distribución Ovillo
Para escribir a la lista, envia un correo a [EMAIL PROTECTED]
Puedes modificar tus datos o desuscribirte en la siguiente dirección: 
http://ovillo.org/mailman/listinfo/ovillo_ovillo.org

Responder a