5 Replies Latest reply on Jun 4, 2015 10:05 AM by Andrew_Antonov

    Слои (layers)

    Andrew_Antonov

      Как создать новый слой в версии Adobe Dreamweaver 2014.1.1 для вставки изображения в изображение, т.к. произошли изменения со старых версий, а сам найти не могу...

        • 1. Re: Слои (layers)
          Rajashree Bhattacharya Adobe Employee

          Moving to Dreamweaver space for expert opinion.

           

          Regards

          Rajshree

          • 2. Re: Слои (layers)
            Jon Fritz II Adobe Community Professional & MVP

            Layers (and later, APDivs) no longer exist as a function in DW since absolute positioning as a layout method has fallen out of use by the vast majority of professional developers.

             

            You can still make them by adding position:absolute to your elements in the CSS Designer/CSS Panel. You can then drag and resize them from within Design View.

             

            You cannot drag or resize them in the Live View Editor though, not yet anyway.

            • 3. Re: Слои (layers)
              Andrew_Antonov Level 1

              Спасибо, я так пробовал сделать.... Это было как то так... !Безымянный.jpg

              Мне нужно добавить эту бабочку в данное пространство, но даже используя параметр absolute, она не переходит в данный раздел, что мне сделать чтобы это получилось?

              ( я только начинаю изучать)

              • 4. Re: Слои (layers)
                Jon Fritz II Adobe Community Professional & MVP

                There are a couple issues here:

                 

                1. You are still in Live View (notice the blue outline while items are selected).

                 

                You can only drag absolutely positioned elements while in Design View.

                 

                2. Notice the strikethrough on the word "position" in the CSS Designer? That means it is not being applied.

                 

                In order to get a position attribute applied to the image, you'll need to give the image an ID...

                 

                <img src="images/butterfly-ovr.png" id="butterfly" alt="something descriptive" />

                 

                ...then in the css, you would add the position attribute to that id...

                 

                #butterfly {

                     position:absolute;

                     top:0px;

                     left:0px;

                     width:170px;

                     height:158px;

                }

                 

                From there on out, the image itself would be "draggable" while in Design View.

                • 5. Re: Слои (layers)
                  Andrew_Antonov Level 1

                  Спасибо огромное, очень долго мучился с этим вопросом!!!