CSS Border around Textbox

[Total: 0    Average: 0/5]

Want to frame an input text box?

Head Code:

<STYLE> 
INPUT 
{ 
    BORDER-RIGHT    : thin; 
    PADDING-RIGHT  : 0px; 
    BORDER-TOP      : thin; 
    PADDING-LEFT    : 0px; 
    PADDING-BOTTOM  : 0px; 
    BORDER-LEFT    : thin; 
    PADDING-TOP    : 0px; 
    BORDER-BOTTOM  : thin 
} 
</STYLE> 

Body Code:

<TABLE bgcolor=green><TR><TD>
<form>
<INPUT TYPE=text name=TxtBox size=8 maxlength=8> 
</form>
</TD></TR></TABLE> 

Times Viewed: 0

Leave a Reply

Your email address will not be published. Required fields are marked *