Forum Moderators: not2easy
Its been confuzing me for a while and havnt been able to come up with a solution.
What i hope to achieve is a layer in the center of the users screen, and then embed other layers inside using the top right register point of the center layer?(i hope that makes sence)
Any help would be appreciated.Thanks
Martin//..
[edited by: Nick_W at 5:25 pm (utc) on Nov. 14, 2003]
[edit reason] No sigs please / thanks! [/edit]
Just centering the layer is easy - define it's dimensions and set it's left and right margins to auto, like:
#mainLayer {
width: 600px;
height: 100%;
margin: 0px auto;
}
Nesting other layers in the centered layer shouldn't be a problem, as long as you're using relative positioning. If you're positioning the child layers absolutely, hopefully someone else can help you..