#258 Задача: placeholder вылезает за границу
This commit is contained in:
parent
c018a2db03
commit
8c0b636931
1 changed files with 20 additions and 6 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue