Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 5 of 5
  1. #1
    New Coder
    Join Date
    Jan 2005
    Location
    West Midlands, United Kingdom
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question *Help! parenting

    Hey people,

    Got another quality question

    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/?

    Many thanks,

    Al.

  • #2
    Senior Coder
    Join Date
    Jun 2002
    Location
    The Netherlands, Baarn, Ut.
    Posts
    4,253
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Templates, layers?!!

    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"?
    Regards,
    Ronald.
    ronaldvanderwijden.com

  • #3
    New Coder
    Join Date
    Jan 2005
    Location
    West Midlands, United Kingdom
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Eeeeepp

    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?

    Thanks,

    Al.

  • #4
    Senior Coder
    Join Date
    Nov 2003
    Location
    Minneapolis, MN
    Posts
    2,879
    Thanks
    2
    Thanked 65 Times in 56 Posts
    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).

  • #5
    New Coder
    Join Date
    Jan 2005
    Location
    West Midlands, United Kingdom
    Posts
    33
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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 ,

    Al.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •