Posts in Category "Features"

Backing up and restoring Dreamweaver site definitions

We often hear from people: “I’m on a new computer. How do I get all of my Dreamweaver sites over to the new computer as well?”

Variations on this theme include: “My computer got wiped out; how can I get my sites back?” as well as “I had to reinstall Dreamweaver and lost all of my sites. How can a restore them?”

The answer to all of these questions is that you must import Dreamweaver site definitions (information that is kept in an .ste file) in order to restore a previous site. As Adobe Community Expert David Powers says, “Losing your site definitions in Dreamweaver can be a disaster, but it does happen sometimes. The best way to prepare for such an eventuality is to back up your site definitions on a regular basis.”

Create backups of your site definitions

You can back up all of your site definitions in a single operation:

  1. In Dreamweaver, choose Site > Manage Sites.
  2. In the Manage Sites dialog box, Shift-click to select all site names.
  3. Click Export.
  4. Dreamweaver asks if you want to include passwords and login details (this is the default option). Whichever option you choose will be applied to all sites, so if you want to export passwords/login details for some sites and not others, click Cancel and then export your sites in two sets by using Ctrl/Cmd-click to select them.
  5. Click OK.
    Dreamweaver asks where you’d like to save the exported site definitions. Navigate to a suitable location, leave the File name field unchanged, and click Save. Although only one site name is listed in the File name field, Dreamweaver exports all of the site definitions as .ste files in a single operation.

NOTE: This process backs up only the details of your sites, such as the location of the root folder, FTP details, and so on. It does not back up the actual files in your site, such as .html (or .php, .asp, .cfm) files, images, and style sheets. It’s a good idea to use your normal file backup routine on your actual files from time to time, as well as exporting the site definitions.

Restore site definitions

In the event of losing your site definitions in Dreamweaver or moving to a new computer, open the Manage Sites dialog box (Sites > Manage Sites), and use the Import button to navigate to your backup .ste files.

For more detailed step-by-step instructions you can consult the Import site settings documentation in Dreamweaver Help.

Thanks to David Powers, who posted the original version of this topic on the Adobe Dreamweaver forum.

Getting rid of blue borders around image links

Here’s a really annoying problem that we often hear people asking about: how do I get rid of a blue border that surrounds an image when I make the image a link?

Annoying blue border around a linked image

Annoying blue border around a linked image

Some people will tell you to simply set a zero border in the Dreamweaver Property inspector, but according to David Powers, you should really use CSS instead.

Here’s how to do it:

  1. Create a new CSS rule for linked images, either in the head of the document or in an external style sheet. (We recommend the latter.)
    The new rule looks like this:
    a img { border: none; }
    Note: If you don’t know anything about creating CSS rules, you’ll need to read up on some basic CSS info first.
  2. If you’ve created the rule in a <style> block in the head of your document, you don’t need to do anything else. If you’ve created the rule in an external style sheet, make sure the sheet is linked to the page that’s displaying the annoying border.

Creating a CSS style to remove borders automatically removes the blue border from ALL images that you’ve turned into links. If you use an external style sheet, and link it to all the pages in your site, the same rule affects every image link in your site. This is a much more efficient method of eliminating those pesky borders than adding zero to the border property for every image in your website!

Thanks to David Powers, who originally posted this helpful tip in the Adobe Dreamweaver Forum.

 

Adobe recommends: CSS Inspect

Over the past week, we publicized some high-value content from adobe.com and  other community sites. Hopefully you enjoyed these posts and found the resources useful. This will be the last post in the “Adobe Recommends” series (for now!)

Continuing our trip along the CSS highway, we have this recommended video by Dreamweaver Product Manager, Scott Fegette:

Dreamweaver CS5 — CSS Inspect

This video shows you how you can use CSS Inspect in Dreamweaver’s Live view to inspect and edit your CSS structure.

Adobe recommends: Enhanced support for CSS3 in Dreamweaver CS5.5

Over  the past week, we publicized some high-value content from adobe.com and other community sites. Hopefully you enjoyed these posts and found the resources useful. Today is our last day of the “Adobe Recommends” series.

Continuing our trip along the CSS highway, we now move to CSS3 with our next recommendation, by Preran Kurnool:

Enhanced support for CSS3 in Dreamweaver CS5.5

This blog post takes you through using box shadow, text shadow, border radius, and border image properties in Dreamweaver CS5.5.

Give it a spin and let us know what you think!

Adobe recommends: Automatically attaching style sheets to new documents

Here’s another one from the great David Powers:

Automatically attaching a style sheet to a new document

This article shows you how to attach style sheets to new documents that you’re creating in Dreamweaver — no need to fuss with the attachment process afterwards!

Adobe recommends: New CSS features in Dreamweaver CS5

Continuing our trip along the CSS highway, our next recommendation is a video by Dreamweaver superstar Brian Wood:

New CSS features in Dreamweaver CS5

The video demonstrates some of the most exciting new CSS features in Dreamweaver: new CSS layouts, CSS inspect, and CSS enable/disable.

Adobe recommends: CSS page layout basics

Continuing on our quest for great layout tips, our next recommendation comes from yours truly:

CSS page layout basics

This article takes you through the A-Z of what makes up a basic CSS layout. It also shows you how to use some of the CSS layouts that come packaged with Dreamweaver.

Adobe recommends: Layout 101

Here’s one from Dreamweaver veteran Gary White: Layout 101

This resource contains some outdated information (about Macromedia Dreamweaver!) but some of the basic concepts around CSS layout are still relevant and clearly presented. Useful for total newbies!

Adobe recommends: Spry Menu Bar resources

Here is another great resource for all you Spry Menu Bar widget users: Ryan Grabenstein’s Spry Menu Bar Resources.

This resource page contains a number of different types of tips and tutorial pieces (including video) for creating, editing, and customizing a Spry Menu Bar widget in Dreamweaver.

Adobe recommends: Customizing a Spry Menu Bar widget

Over the next week, we are going to be publicizing some high-value content from adobe.com and other community sites. We have been tracking what’s been most important to our users, and feel that getting this content out to the larger community will go a long way toward helping people tackle some of their most pressing challenges.

Our second recommendation is a piece by David Powers:

Customizing a Spry Menu Bar widget

The tutorial takes you through some of the most common styling tasks for the difficult-to-style Spry Menu Bar widget in Dreamweaver.

Give it a spin and let us know what you think!