[thelist] Extra px in IE6

Anthony Baker lists at thinkbigideas.com
Mon Dec 2 10:59:01 CST 2002


I had the same problem and it drove me nuts.

But there is a solution!

The whole <div></div> has to be on ONE line. In my case, I
has my original code for the <div> on multiple lines for
easier reading on my part when coding. When I collapsed the
whole thing on one line, it worked perfectly under both IE
and Mozilla.

That should work...

Cheers,

Anthony





----- Original Message -----
From: "Chris Evans" <chris at fuseware.com>
Newsgroups: evolt
To: <thelist at lists.evolt.org>
Sent: Monday, December 02, 2002 8:40 AM
Subject: [thelist] Extra px in IE6


> I'm working on a form that uses CSS for positioning.  My form label has
> a bottom margin of 4px, and my select box has a top margin of 0px. Both
> have padding set to 0px as well. It appears correctly in Mozilla 1.1,
> but I consistently get an extra 2 pixels spacing in IE6.  Can anybody
> tell me where the extra space is coming from?  Perhaps a default for
> some element in IE6 that I need to overwrite, or maybe a hack to get it
> spaced the same in both browsers?
>
> You can view a test page with the styles at
> http://www.unhappyfun.com/index.html
>
> Thanks for your help.
> --
> Chris Evans
> chris at fuseware.com
> http://www.fuseware.com
>
>
> --
> * * Please support the community that supports you.  * *
> http://evolt.org/help_support_evolt/
>
> For unsubscribe and other options, including the Tip Harvester
> and archives of thelist go to: http://lists.evolt.org
> Workers of the Web, evolt !




More information about the thelist mailing list