lundi 16 mars 2015

How to fix form, input default overflow behaviour

When I put an input of type text inside a form the input overflows the form by 4 pixels; this only seems to occur when width is 100%.


id est:



<html>
<head>
<title></title>
<style>
input { width: 100% }
</style>
</head>
<body>
<form><input type="text" /></form>
</body>
</html>


Why does this occur?


http://ift.tt/1MFrL8q


Aucun commentaire:

Enregistrer un commentaire