Sidan du har begärt finns tyvärr inte på ditt språk för närvarande. Du kan välja ett annat språk längst ned på sidan eller översätta vilken webbsida du vill till valfritt språk direkt med hjälp av den inbyggda översättningsfunktionen i Google Chrome.

Wrap elements

Wrap multiple elements to enclose them in a <div> element, which you can treat as a single object.

If you need multiple copies of the same set of elements, consider using groups instead.

Wrap a set of elements

  1. Select the element or elements that you want to enclose in a div.
  2. Use one of the following methods to wrap the selected elements:
    • Select Edit > Wrap from the top menu.
    • Press Ctrl+R (Windows) or +R (Mac).
    • Right-click the selection, and select Wrap from the pop-up menu.

Edit wrapped elements

To make changes to individual elements that have been wrapped:

  1. Double-click the enclosing div. A red outline appears around the div.
  2. Make your changes.
  3. Double-click the area outside the red outline.

Break apart wrapped elements

  1. Right-click the enclosing div.
  2. Select Break apart from the pop-up menu.

Was this helpful?

How can we improve it?
Search
Clear search
Close search
Main menu
5637518479315207423
true
Search Help Center
true
true
true
true
true
5050422
false
false