Re: [WSG] newbie discovers absolute positioning

2004-01-31 Thread James Ellis
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

Re: [WSG] newbie discovers absolute positioning

2004-01-30 Thread Cameron Adams
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

RE: [WSG] newbie discovers absolute positioning

2004-01-30 Thread David McDonald
://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

Re: [WSG] newbie discovers absolute positioning

2004-01-30 Thread russ weakley
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

[WSG] newbie discovers absolute positioning

2004-01-30 Thread Universal Head
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