Apply color to text using the assets panel, Assign urls to images or text – Adobe Dreamweaver CC 2015 User Manual
Page 290

283
Page content and assets
Last updated 6/3/2015
4
Do one of the following:
• Drag the asset from the panel to the document. You can drag from the list view as well as from the preview pane.
Note
: On Windows, you cannot drag assets from the preview pane.
You can drag scripts into the head content area of the Document window; if that area isn’t visible, select View >
Head Content.
• Select the asset in the panel and click Insert.
If the inserted asset is a color, it applies to text appearing after the insertion point.
Apply color to text using the Assets panel
The Assets panel shows the colors you’ve already applied to various elements, such as text, table borders, backgrounds,
and so on.
1
In Design View, perform the following steps:
a
Select the text in the document.
b
In the Assets panel, select the Colors category
.
c
Select the desired color, and click Apply.
2
In Live View, perform the following steps:
a
In the Assets panel, select the Colors category
.
b
Do one of the following:
• Right-click the color in Assets panel, and click Copy Color Value. The color value is copied to your clipboard.
You can now paste the color value (Ctrl+v, Cmd+v) in CSS Designer.
• Drag the color from preview and hover the mouse on elements in Live View. When you drop the color, the
New CSS Rule dialog appears and when you click OK, the color is applied to the selected element.
• Click Apply in the Assets panel. The New CSS Rule dialog appears and when you click OK, the color is applied
to the selected element.
Assign URLs to images or text
1
In Design View, perform the following steps:
a
Select the text or image.
b
In the Assets panel, select the URLs category in either the Sites or Favorites view, depending on where the URL
is stored.
Note: URLs for your site’s files are stored in the Sites view by default. The Favorites view holds URLs that you have
added yourself.
c
Select the URL.
d
Do one of the following:
• Drag the URL from the panel to the selection in Design View.
• Select the URL, then click Insert.
2
In Live View, perform the following steps:
a
In the Assets panel, select the URLs category in either the Sites or Favorites view, depending on where the URL
is stored.