Christian Kirchhoff wrote:
> P.S.: The body was set to {position: relative}. After I deleted that, the
> positioning in Firefox became the same that in IE...
>
> Though I don't understand why {position: relative} attached to the body
> element lets absolutely positioned child elemnts shift down a little in
> Firefox, I am glad that now I can keep working with a single CSS instead of
> extra CSS files for Internet Explorer.
The only reason that would happen is because FF and IE are being
positioned relative to different elements and removing the position:
relative from the body element made some element that was rendering
correctly in FF move up to the top edge of the container that IE was
positioning itself to. This definately is a hasLayout issue, but I took
a look at the page itself and I find it visually appealing, so I don't
see a real urgent need to go finding it, especially since it's going to
force you to write conditional / hack code for IE.
But, you may want to create a test site and fool around with the page
using borders on various divs to see what moves around when you reset
the position: relative on the body. And it also looks like the menu is
contained by the body itself but by <div id="main"> Now, granted, I
didn't comb through the code with a fine-toothed comb to see exactly
where 'main' ends, but I got about 1/2 of the way through the source
code so it's obviously a wrapper of some sort and it also has position:
relative applied to it, so *something* is supposed to be positioned
relative to it. As I said, probably not a matter of urgency, but it's
always nice to know exactly why your code is doing what it's doing, so I
would recommend you look into it when you have a moment :)
--
Thanks,
Jim
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
IE7 information -- http://css-discuss.incutio.com/?page=IE7
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/