We would like to know how to add padding to text inputs.
<!DOCTYPE html>
<html>
<head>
<style type='text/css'>
input {<!-- w w w. j av a2 s.co m-->
padding: 10;
outline: none;
border: 1px solid red;
}
</style>
</head>
<body>
<input value="foo foo foo">
</body>
</html>
The code above is rendered as follows: