View Full Version : *Help! parenting
02-07-2005, 10:35 AM
Got another quality question :eek:
ok i'm working with a template, i've got it centered (finally). But now the page i'm working on has different layers as well as the template ones.
I was wondering is there a way i can link those layers to that on the template positioning wise. For the template positioning i'm using CSS for it, is there anyway i can do this/? :confused:
02-07-2005, 03:46 PM
I have no idea what you're asking here; I guess you're working in DreamWeaver, considering the terms "template" and "layer", but since these terms are ambiguous outside their proper context, could you please supply some more detailed information, preferably not in "DWSpeak"?
02-08-2005, 09:26 AM
sorry if i confused you lot there.
Ok say if i had a page in a page (a frame or layer... if you will) and i wanted to position that frame relative to the page it's on. Is there anyway i could set the parent of the second page to the parent of the first.
that made it clearer?
02-08-2005, 09:55 AM
Sure. If you mean ignoring the page flow and positioning "pixel precise" over the original template, give the main wrapper element on the template a declaration of "position: relative" and use "position: absolute" to position the elements within.
Other than that, you'll have to just deal with learning enough CSS to position your elements according to flow. Remember, this "layers" stuff is nonsense unless you're positioning EVERYTHING "out of flow" (absolute positioning or floating).
02-08-2005, 11:07 AM
i think i know what you're saying, will look at that css tho =) all that talk of float kinda went over my head a bit....
Thanks for the help tho :thumbsup: ,
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.