Hi,

Thanks, I get it now.

Disco,
Chris


On Thursday, October 14, 2004, at 11:21 AM, Patrick H. Lauke wrote:

Relative positioning is relative to the next positioned parent. In the absent of a positioned parent, the default origin is the viewport.
To get it to work the way you intend it, you need to position #containingbox as well. Use position:relative with no other offset. All you're doing here is effectively providing an anchor, an origin, for #disco, and not actually moving #containingbox anywhere.


#containingbox{
     position:relative; /* to provide an origin for #disco */
     border: 1px solid #666;
     background-color: fff;
     color: 000;
     width: 500px;
     padding: 5px;
     margin: 0px auto;
     text-align: justify;
}

Patrick H. Lauke
_____________________________________________________
re�dux (adj.): brought back; returned. used postpositively
[latin : re-, re- + dux, leader; see duke.]
www.splintered.co.uk | www.photographia.co.uk
http://redux.deviantart.com

******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************


"Imagination is more important than knowledge."
                                                -Albert Einstein

Chris
http://ckimedia.com

******************************************************
The discussion list for  http://webstandardsgroup.org/

See http://webstandardsgroup.org/mail/guidelines.cfm
for some hints on posting to the list & getting help
******************************************************



Reply via email to