HTML Code for rounded corner textbox
<div class="loginboxdiv">
<input class="loginbox" name="username" type="text" />
</div>
The container "div" contains the background image of rounded corners and inside of that the real textbox resides.
CSS Code for rounded corner textbox:
.loginboxdiv
{
margin:0;
height:21px;
width:146px;
background:url(login_bg.gif) no-repeat bottom;
}
.loginbox
{
background:none;
border:none;
width:134px;
height:15px;
margin:0;
padding: 2px 7px 0px 7px;
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:11px;
}
Gaurav Agrawal
http://planetofcoders.com/
Siva524, if this helps please login to Mark As Answer. |
Reply | Alert Moderator