Sent by Harrison, George on 13 February 2003 19:07
There are a couple of things that might cause problems for this page. First
it seems that IE doesn't honour margin-top: -8px; on .pagewidth. Instead it
sets it's default margin.
Then since your absolutely positioned .letcompcampnav has no positioned
ancestors it positions itself relative to body. This effectively moves it up
relative to .pagewidth by about 3 or 4 pixels, which is the difference you
are seeing.
But there is a problem with using margin-left:auto as well, since IE doesn't
honour that either. But Mozilla does, and with an absolutely positioned
.leftcompcampnav, and absolute width of 750px on .pagewidth, this can
produce some interesting effects if you resize your browser window. Mozilla
seems to be honouring the requirement that the page be centred even if it is
wider than your browser, while holding the location of the menu relative to
the top left corner of the screen (as it should, I believe).
Most of these problems go away if you just position .pagewidth absolutely.
Nice looking page.
gh
> -----Original Message-----
> From: Stephanie [EMAIL-REMOVED]]
> Subject: [css-d] FW: netscape/ie placement
>
>
> Hi--In IE the absolutely position menu lines up fine--so does
> the orange bar; in Netscape the bar is too close to the text and the menu
is too
> low--anyway to fix this?
>
> I absolutely positioned the menu because the text below the
> menu in the content area pushed out a few pixels--I'd rather not
> absolutely position, I
> think anyway--I'm under the assumption that we should use it as a last
> resort?--Sorry forgot the url
> http://www.provlib.org/building/campaignhome.htm
>
> Stephanie