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 6098831

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:12:10+00:00 2026-05-23T13:12:10+00:00

I have put a margin bottom for inputboxes. In Firefox4, the spacing between the

  • 0

I have put a margin bottom for inputboxes. In Firefox4, the spacing between the inputboxes and the .link seems fine but using IE7, the spacing seems to double.. How can I fix this?

HTML :

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 <html xmlns="http://www.w3.org/1999/xhtml">
<head>
 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<link type="text/css" href="css/Exam.css" rel="stylesheet" />
</head>

<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"><div>Not yet a Member?</div> <a href="" class="Register">&nbsp;Register Now</a> <a href="" class="btn_login"><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 -->
</body>
</html>

CSS File :

@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:601px;margin:0 auto;border:#000 thin groove;color:#bb9d59;padding:17px 28px 28px 35px;font-family:Arial, Helvetica, sans-serif; }

/* Header */
.header{width:601px;overflow:hidden;}
 .Login{width:390px;float:right;}
h1{margin-bottom:7px;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;line-height:21px;margin-    bottom:14px;}
input[type="password"]{margin-left:25px;}
.links a,.links a:link{color:#943415;text-decoration:none;float:left}
.links{clear:both;border:#000 thin groove;overflow:hidden;}
.links div{float:left;}

http://jsfiddle.net/eb2zR/

  • 0 0 Answers
  • 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-23T13:12:11+00:00Added an answer on May 23, 2026 at 1:12 pm
    • Apply overflow: hidden to the form.
    • Move the margin on the inputs inside form to form itself.

    See: http://jsfiddle.net/eb2zR/1/

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

Sidebar

Related Questions

I have put together the following mootools script window.addEvent('domready', function() { var shouts =
I have put together a script which is very much like the flickr photostream
I have a Window where I have put a Frame. I would like to
In my project I have put all my css classes in the style sheets.
Greetings: I have put together a RESTful web service in .NET 3.5 that takes
Into some view data i have put the result of an anonymous type: var
I have a JLabel (actually, it is a JXLabel). I have put an icon
As part of a system I am working on we have put a layer
In my iPhone app, I have put a UIBarBUtton of type UIBarButtonSystemItemTrash in my
EDIT: Scotty2012 and David Morton's answers don't work for me so I have put

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.