Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6095933
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T12:52:06+00:00 2026-05-23T12:52:06+00:00

If firefix4 , the text in the input box is at the middle but

  • 0

If firefix4 , the text in the input box is at the middle but in IE7, the text is at the top..How can I make the text align vertically at the center of the input box in IE7?

Untitled Document

<body>
<!-- start wrapper -->
<div class="wrapper">

    <!-- start header -->
    <div class="header">
        <div class="Login">
           <h1>User Login</h1>
           <form name="Login" method="#" action="#">
                <input type="text" value="User Name" />
                <input type="password" value="password" />
           </form>
           <div class="links"><h3>Not yet a Member?</h3> <a href="">Register Now</a> <a href="">    <span>Login</span></a></div>
        </div>
    </div>
    <!-- End header -->

    <!-- Start main -->
    <div class="main"></div>
    <!-- End main -->

    <!-- start footer -->
    <div class="footer"></div>
    <!-- End footer -->

</div>
<!-- End wrapper -->

/* CSS */

  @charset "utf-8";
  /* CSS Document */


 /*  CSS Reset  */
ul,li,h1,h2,h3{padding:0;margin:0;}
ul{list-style:none;}


 /*  CSS for wrapper  */
.wrapper{background:#fffde4  ;width:664px;height:789px;margin:0 auto;border:#000 thin      groove;color:#bb9d59;padding:17px 28px 28px 35px;font-family:Arial, Helvetica, sans-serif; }

 /* Header */
 .header{width:664px;border:#000 thin groove;overflow:hidden;}
 .Login{width:390px;border:#000 thin double;float:right;}
  h1{margin-bottom:7px;border:#000 thin groove;color:#2c787b;font-size:27px;}
 input[type="text"],input[type="password"]{width:172px;height:21px;color:#bb9d59;background-     color:#f9f6d4;border:none;font-size:10px;padding-left:9px;float:left}
 input[type="text"]{border:#000 thin groove;}
 input[type="password"]{border:#000 thin groove;margin-left:15px;}

http://jsfiddle.net/s2wrS/

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T12:52:06+00:00Added an answer on May 23, 2026 at 12:52 pm

    Use line-height: Xpx; where X is the height of your textbox.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I tried the following code but firefox4 does not display me anything.. <script type=text/javascript>
The following html is working in IE/Firefix/Chrome/Safari but in Opera the first letter is
I have the following markup: <select multiple=multiple id=targetFilesList style=width:200px;height:110px;> </select> <input type=button value=Get id=btnGet
I'm using ajax to make a request on a servletand receive json String servlet
I'm trying to submit a form with javascript. Works fine with Firefox 3.6, but
I have this html <div class=p-box> <div class=p-img></div> <h3>title</h3> <div class=txt>some txt</div> </div> with
I used to use Firefox3.6 but with Firefox4.0 when certain amount of popoup windows
I have a radio button that triggers in Firefox 2.0 but it does not
I am using the following code to play a video inside my webpage. The
I love firebug for helping debug my web apps, as well as seeing how

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.