fix IE8 styling y u no do this 0ip?

This commit is contained in:
root 2013-02-06 20:02:24 +00:00
parent dd49c71af9
commit 9fcabfa8ac

View file

@ -64,7 +64,8 @@
box-shadow: 0px 1px 8px rgba(0,0,0,0.3); box-shadow: 0px 1px 8px rgba(0,0,0,0.3);
} }
#inner { #inner {
width: 300px; position:relative;
max-width: 300px;
margin: 0 auto; margin: 0 auto;
} }
#button { #button {
@ -100,6 +101,10 @@
text-shadow: 0 1px 1px #fff; text-shadow: 0 1px 1px #fff;
margin: 16px auto 0; margin: 16px auto 0;
} }
#padname{
height:38px;
max-width:280px;
}
form { form {
height: 38px; height: 38px;
background: #fff; background: #fff;
@ -115,7 +120,8 @@
border-radius: 3px; border-radius: 3px;
box-sizing: border-box; box-sizing: border-box;
-moz-box-sizing: border-box; -moz-box-sizing: border-box;
padding: 0 45px 0 10px; line-height:36px; /* IE8 hack */
padding: 0px 45px 0 10px;
*padding: 0; /* IE7 hack */ *padding: 0; /* IE7 hack */
width: 100%; width: 100%;
height: 100%; height: 100%;
@ -125,7 +131,7 @@
} }
button[type="submit"] { button[type="submit"] {
position: absolute; position: absolute;
right: 0; left:253px;
width: 45px; width: 45px;
height: 38px; height: 38px;
} }