[Techtalk] CSS absolute positioning and overflow:hidden
Akkana Peck
akkana at shallowsky.com
Sun Oct 1 18:20:56 UTC 2006
Julie Bovee Hill writes:
> Absolute positioning is positioned based on the nearest containing
> absolutely positioned element or the browser window if no element is
Yikes! The container has to be absolutely positioned too?
None of the references I saw mentioned that -- but sure enough,
it works (even the overflow: hidden) if I position the container
absolutely.
Of course, that's not an option for a real page, since I
can't predict where the div should be without knowing the
user's fonts and resolution and all that.
I guess there's no way to use absolute positioning if I want
the rest of the page to flow normally and resize properly.
I'll investigate using margin-left instead.
Thanks for clearing that up, Julie! Even if I don't like the
answer, it's good to know why it was happening.
--
...Akkana
"Beginning GIMP: From Novice to Professional": http://gimpbook.com
More information about the Techtalk
mailing list