1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr">
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<style type="text/css">
.graphicalinput
{
background-image: url('Picture2.png');
background-repeat: no-repeat;
width: 305px;
height: 26px;
font-size: 20px;
padding: 10px;
border: 0; /* cache les bords bleus par défaut des input */
display: block; /* pour pouvoir lui donner une hauteur et une largeur */
}
</style>
</head>
<body>
<form method="post" action="#">
<input type="text" name="exemple" class="graphicalinput" />
</form>
</body>
</html> |