input border-right: 2px solid black;
<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title></title> <style type="text/css"> label:after { content: ": "; } input { display: block; margin-bottom: 1.25em; width: 150px; border: 1px solid black; border-right: 2px solid black; border-bottom: 2px solid black; } </style> </head> <body> <form action="" method="post"> <label for="uname">Username</label> <input type="text" name="uname" id="uname" value="" /><br /> <label for="pname">Password</label> <input type="text" name="uname" id="uname" value="" /><br /> <input type="submit" name="Submit" value="Submit" class="buttonSubmit" /> </form> </body> </html>