Merge pull request #2 from iliakan/js-nodejs/issues/258

#258 Задача: placeholder вылезает за границу
This commit is contained in:
Ilya Kantor 2015-02-19 21:22:21 +03:00
commit 718ab327f9

View file

@ -3,15 +3,29 @@
<head>
<meta charset="utf-8">
<style>
input {
margin: 0;
width: 12em;
body
{
font: 14px/14px Arial, sans-serif;
}
#placeholder {
color: red;
input
{
font: 14px/14px Arial, sans-serif;
margin: -1.3em 0 0 0.2em;
width: 12em;
padding: 0;
margin: 0;
}
#placeholder
{
font: 14px/14px Arial, sans-serif;
position: absolute;
margin: -1.2em 0 0 0.2em;
color: red;
}
</style>
</head>