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 7716335
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T02:36:37+00:00 2026-06-01T02:36:37+00:00

I face some layout differences in IE and in Chrome. I have searched Stack

  • 0

I face some layout differences in IE and in Chrome. I have searched Stack overflow high and low for solutions and tried some of it… I tried setting box-sizing to initial…it did not work…there fore tried setting height of the text box it did work but still a big differences. I also tried changing doctype to strict. I encounter this problem as part of my project.

The Problem:
I have form in a div tag. In the form there are 4 rows of text field. I put the preview on IE and the preview on Chrome side by side to compare and realise that it is the spacing between the text area that causes the differences in height.

The Code on my html file:

  <div class="leftdetails">
    <form class="form2" name="form2" method="post" action="">
      <label for="fname">First Name: </label>
      <input type="text" name="fname" id="fname" class="regfields"/>
      <br />
      <label for="cdsid">CDSID: </label>
      <input type="text" name="cdsid" id="cdsid" class="regfields"/>
      <br />
      <label for="mail">Mail Drop: </label>
      <input type="text" name="mail" id="mail" class="regfields"/>
      <br />
     <label for="dateofbirth">D.O.B.: </label>
     <input type="text" name="dateofbirth" id="dateofbirth" class="regfields"/>
     <br />
    </form>
  </div>

The code on my CSS (external)

    .leftdetails
    {
font-family:Myriad Pro;
font-size:18px;
float:left;
width:50%;
text-align:center;
    }

    .regfields
    {
width:200px;
height:20px;
vertical-align:bottom; 
    }

     .form2
    {
text-align:right;
margin-right:50px;
    }

This is not published online yet therefore there is not link…but I will be glad to provide screenshot. Its a very minor difference but I just want to understand why.

  • 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-06-01T02:36:38+00:00Added an answer on June 1, 2026 at 2:36 am

    Try to set the padding-top and padding-bottom to 0px in the regfields CSS class. Maybe also margin-top and margin-bottom

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

Sidebar

Related Questions

I have some buttons my page using a custom font face using the CSS
I have previous experience with MATLAB, but the problem that I face is some
I have some @font-face webfonts on my site. The fonts and the CSS code
I have some face normals and I need to calculate the angle between the
I'd like to have some help on an issue I face. I'm using serialization
I have some problem with font-face that are loaded are deform my div height.
I work at a site that passed through some face lifts. In time the
I do some stuff with XMLSerializer class. Like a most of beginners I face
As the question says, what are some common/major issues that C++ programmers face when
I'm using @font-face for some headers. The replaced typeface is different in dimension and

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.