Inserire sfondo in casella di testo

[sourcecode language=”html”]
<html>
<head>
<style type="text/css">
.searchBox{
background-image:url(‘lenteingrndimento.gif’);
background-repeat:no-repeat;
padding-left:20px;
}
</style>
</head>
<body>
<input type="text" name="search" class="searchBox">
</body>
</html>
[/sourcecode]

Potrebbero interessarti anche...

Lascia un commento

Il tuo indirizzo email non sarà pubblicato. I campi obbligatori sono contrassegnati *