Hi
This reminds me of something I've been wanting to do for while
Positioning a box that is in the document flow to the horizontal centre
of the screen is easy using margin : 0, auto; This doesn't seem to work
with position : absolute; - I'd like the (fixed width), absolutely
positioned bo
Absolute positioning only works when you know the
*exact* height of the element you're positioning. Good
for positioning images, such as logos, but when they
contain text it's probably not a good way to go.
(especially in Mozilla, which does not re-calculate
absolutely positioned items when you ch
://www.davidmcdonald.orgSouthbank,
MelbourneAustraliaMobile: 0403 332 140ICQ: 11814164
-Original Message-From: Universal Head
[mailto:[EMAIL PROTECTED] Sent: Saturday, 31 January 2004
3:06 PMTo: [EMAIL PROTECTED]Subject: [WSG]
newbie discovers absolute positioning
Opinions welcome:
I'm wo
Peter,
"position: absolute" is a two edged sword. It allows you to position an
element exactly where you want (within a relatively positioned item in your
case), but it has downsides in certain circumstances.
The biggest downside is that absolutely positioned items are completely
removed from the
Title: newbie discovers absolute
positioning
Opinions welcome:
I'm working on a new job and looking at code on various sites I
recently discovered the joys of creating a container that is
centred position:relative with margin: 0 auto; in the
browser window, and then setting divs within it that a