Thanks Roger for your reply.
I have build up a page to show you what i'm talking about
<http://www.hablablow.com/fixedTest/css_d_page.htm>
I imagine Js would give me the best control of what i try to achieve.
But i'd like to keep positions managed in css.
Logically:
nonFixedLayer{
margin-top: fixedLayer1+fixedLayer2;
}
To make things not easyer, and scalable, the second fixed layer doesn't
have a height defined
Isn't there a pure css solution for this simple calculus ? Such as
adding values with ancestors or parent nodes, inheritance...
The best step i'm into know: since 2 fixed layers are byh default
absolutely positioned have a greater z-index, i use an empty layer
called "dummy" ( containing a single ;  ), with a line-height value,
to push the non fixed layer to its correct position from the top of the
window. But this breaks somehow when text in fixed layer just above
wraps on several lines.
> A javascript solution added to the em based top margin would give yo
the best of both worlds.
Any ressource to point ?
Thanks.
Guillaume.
If you want to avoid javascript, you could set the margin-top of the
static part in ems. That way the top edge will be dependent on the
user's font settings. However, this method is inexact. A javascript
solution added to the em based top margin would give yo the best of
both worlds.
By the way, we could give much better advice if you could post the
page somewhere. Otherwise, all we can offer is generalizations.
Roger,
Roger Roelofs
Know what you value.
______________________________________________________________________
css-discuss [EMAIL PROTECTED]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/