Ver Mensaje Individual
  #4 (permalink)  
Antiguo 11/03/2008, 17:02
Avatar de Mikmoro
Mikmoro
Colaborador
 
Fecha de Ingreso: octubre-2006
Ubicación: K-pax
Mensajes: 7.228
Antigüedad: 17 años, 7 meses
Puntos: 280
Re: Redondear tags de formulario

Creo que así viene a ser más sencillo. A ver si os sirve.

Cita:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>CSS Example</title>

<style type="text/css">
input { border-style: solid none;
border-color: rgb(149, 149, 149) -moz-use-text-color;
border-width: 1px 0px;
font-family: Arial,Helvetica,sans-serif;
font-size: 11px;
color: rgb(66, 66, 66);
background-color: rgb(255, 255, 255);
font-weight: normal;
background-image: url(input_bg.jpg);
background-repeat: repeat-x;
background-position: center top;
height: 20px;
padding-top: 2px;
padding-left: 2px;
}
.inputleft { width: 4px;
height: 20px;
background-image: url(input_cornet1.png);
background-repeat: no-repeat;
float: left;
}
.inputright { height: 20px;
background-image: url(input_cornet2.png);
background-repeat: no-repeat;
background-position: right top;
width: 4px;
float: right;
}
#boton {
width: 225px;
}
</style>
</head>

<body>
<div id="boton">
<div class="inputright"></div>
<div class="inputleft"></div>
<input name="usuario" id="usuario" maxlength="50" size="38" type="text"></div>
</body>
</html>
Mikel.