Solved

Spacing differences on IE & Firefox

Posted on 2009-07-09
1
373 Views
Last Modified: 2013-12-25
I'm having some difficulty getting text inputs to space evenly. I have a simple page with two input fields with padding and margin set to 0. The height of both inputs is the same on FF and IE but IE has a one pixel more gap between the fields. Is there any way to sort this, other than absolute or relative positioning?
<input type="text" id="field1" style="margin:0;padding:0;"><br />
<input type="text" id="field2" style="margin:0;padding:0;">

Open in new window

0
Comment
Question by:myefforts
1 Comment
 
LVL 13

Accepted Solution

by:
Murali Murugesan earned 250 total points
ID: 24812008
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Learn by example how to specify CSS selectors for Selenium WebDriver test automation software.
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question