Heading

Wednesday, September 25, 2013

Adding Image to Text Box

<html>
<head>
<style type="text/css">
        .tbl1
        {
            background: #FFFFFF url(button.gif) no-repeat 4px 4px ;
            padding: 4px 4px 4px 22px;
            height: 25px;
            background-position:right;
        }
    </style>
</head>
<body>
 <div>
        <input type="text" class="tbl1"/>
 
 </div>
</body>
<html>

Output:

No comments:

Post a Comment