1 Reply Latest reply on Aug 14, 2007 9:56 AM by Newsgroup_User

    Help to Make Stacked Layers Expand with Copy

    BabyOz
      I have multiple layers stacked on an html page. I need the third layer, which holds text, to force the layers beneath it to expand when the copy exceeds the initial size of the layer.

      I tried using the nested layer function, but either I am doing something wrong or this is not the proper way to make this happen. The original layer (gray) shows sublayers beneath it (in the Layers window) but the parent is not expanding to accomodate the sublayer expansion.

      I am trying to create a template and need that text area to be able to expand as needed, without overlapping the layers beneath it. Help?

        • 1. Re: Help to Make Stacked Layers Expand with Copy
          Level 7
          It cannot happen. This is one of the downsides to using 'layers'. Since
          they are removed from the normal flow (by virtue of being absolutely
          positioned), then cannot then affect any other element's size or position.

          In fact, this downside is SO severe that using layers as a general layout
          method is a very poor practice. See this for alternative approaches -

          http://apptools.com/examples/pagelayout101.php


          --
          Murray --- ICQ 71997575
          Adobe Community Expert
          (If you *MUST* email me, don't LAUGH when you do so!)
          ==================
          http://www.dreamweavermx-templates.com - Template Triage!
          http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
          http://www.dwfaq.com - DW FAQs, Tutorials & Resources
          http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
          ==================


          "BabyOz" <webforumsuser@macromedia.com> wrote in message
          news:f9smg1$p6r$1@forums.macromedia.com...
          >I have multiple layers stacked on an html page. I need the third layer,
          >which
          > holds text, to force the layers beneath it to expand when the copy exceeds
          > the
          > initial size of the layer.
          >
          > I tried using the nested layer function, but either I am doing something
          > wrong
          > or this is not the proper way to make this happen. The original layer
          > (gray)
          > shows sublayers beneath it (in the Layers window) but the parent is not
          > expanding to accomodate the sublayer expansion.
          >
          > I am trying to create a template and need that text area to be able to
          > expand
          > as needed, without overlapping the layers beneath it. Help?
          >
          >
          >