का उपयोग कर सबमिट बटन का वर्टिकल संरेखण मुझे इंटरनेट एक्सप्लोरर में अपने इनपुट के साथ प्रदर्शित करने के लिए मेरा सबमिट बटन प्राप्त करने में परेशानी हो रही है। संरेखण सफारी और फ़ायरफ़ॉक्स में ठीक है लेकिन आईई 5px के नीचे बटन छोड़ रहा है। कोई विचार यह क्यों हो रहा है या मैं इसे कैसे ठीक कर सकता हूं?सीएसएस एचटीएमएल
यूआरएल http://www.menslifestyles.com क्लिक पेज के शीर्ष पर सदस्यता के रूप में पॉप जाएगा। दो आदानों लाइन अप सीधे लेकिन यानी में सबमिट बटन पर संरेखित नहीं करता है!
------- एचटीएमएल -------
<div id="subscribe">
<form id="subscribeform" method="post" action="/maillists/subscribe" accept-charset="utf-8">
<div style="display:none;"><input type="hidden" name="_method" value="POST"></div>
<label for="MaillistName">Name</label><input name="data[Maillist][name]" type="text" maxlength="255" id="MaillistName">
<label for="MaillistEmail">Email</label><input name="data[Maillist][email]" type="text" maxlength="500" id="MaillistEmail">
<input type="submit" value="Submit"><a href="#" id="closelink">X</a>
</form></div>
----- सीएसएस -------
#subscribe{
width:620px;
position:absolute;
top:25px;
left:50%;
margin-left:-120px;
overflow: auto;
z-index: 1000;
background: #ffffff;
color:#6e6e6e;
font-size: 10px;
text-transform: uppercase;
font-family: Helvetica, Verdana;
}
#subscribe input{
border: 1px solid #e5e5e5;
display: inline;
height: 12px;
color:#cccccc;
width: 215px;
}
#subscribe input[type="button"], #subscribe input[type="submit"]{
clear:both;
padding:3px, 0px;
-webkit-appearance: none;
font-family: Helvetica, Verdana;
background-color:#cccccc;
text-align:center;
color: #3c3c3c;
font-size:10px;
text-transform: uppercase;
border: none;
cursor: pointer;
display: inline;
height:15px;
width:60px;
position:relative;
margin-left:5px;
}
#subscribe form{
margin:0px;
padding:0px;
}
#subscribe label{
display: inline;
font-size: 10px;
}
#subscribe a{
text-decoration: none;
color: #cccccc;
}
#subscribe #closelink{
padding:0 5px;
}
ओह और फ्लाईबग प्राप्त करें ताकि आप फ्लाई पर टिंकर की मदद कर सकें और देखें कि क्या हो रहा है। (यदि आप इसे पहले से उपयोग नहीं करते हैं!) - http://getfirebug.com/ – addedlovely