input color: #00008B;background-color: #E3F2F7;border: 1px inset #00008B;width: 200px;
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"> <head> <title>An inline form</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <style> form { display: inline; } input.txt { color: #00008B; background-color: #E3F2F7; border: 1px inset #00008B; width: 200px; } input.btn { color: #00008B; background-color: #ADD8E6; border: 1px outset #00008B; } </style> </head> <body> Your email address: <form method="post" action="inline.html"> <div><input type="text" name="name" id="name" class="txt" /> <input type="submit" name="btnSubmit" id="btnSubmit" value="Submit" class="btn" /></div> </form> </body> </html>