New Feature: Playlist Center! Pick a topic and let our playlists guide the way.

Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Setting up new document preferences

From: Dreamweaver CS6 Essential Training

Video: Setting up new document preferences

Based on the method that you use for creating new documents, Dreamweaver often makes a lot of the key decisions for you as it creates the new page. Whenever you start a new project, or when your page requirements in your site changes, it's a good idea to take a few moments to set up your new document preferences so that Dreamweaver will create new pages to your proper specification. So to do that, I'm just going to open up my Dreamweaver Preferences. You can find those on the PC, by going to Edit>Preferences, and of course on the Mac you'll go to Dreamweaver>Preferences.

Setting up new document preferences

Based on the method that you use for creating new documents, Dreamweaver often makes a lot of the key decisions for you as it creates the new page. Whenever you start a new project, or when your page requirements in your site changes, it's a good idea to take a few moments to set up your new document preferences so that Dreamweaver will create new pages to your proper specification. So to do that, I'm just going to open up my Dreamweaver Preferences. You can find those on the PC, by going to Edit>Preferences, and of course on the Mac you'll go to Dreamweaver>Preferences.

Now, what I'm looking for this time is the New Document category, right over here on the left-hand side. We don't have very many choices here, but the choices that we do have are incredibly important. So the first thing that it's going to ask me is what default document type do I want? And if I need something other than HTML, for example, if I'm working on a ColdFusion site, I choose ColdFusion from this. For what we're doing in this course of course we're going to choose HTML. Now, the next thing it wants to know is, okay, if I create a document and I save it, what default extension do I want? Now, I can choose .htm or .html.

For the most part it doesn't really matter. It's a tomato, tomato type deal. I actually really like the .htm extension. Again, it doesn't matter, it's a personal preference. The only time you're really going to see that happen is when you go over to the Files panel and you right-click and you choose to create a new file, then Dreamweaver is going to go ahead and create a file and save it all at the same time for you and it's going to give it that extension. Also, you'll see that when you save a file, you'll see that default extension come up in the Save a File dialog box. Now, the next choice we have here is Default Document Type, and this is a very important choice.

Essentially it tells the browser which version of HTML you're using and basically, how you're serving that content. So it explains to that particular user agent how it should parse the code. So I'm going to grab the pull-down menu here. Again, we see all the choices that we saw in the previous movie's dialog box. We can choose everything from HTML 4 to HTML 5 and XHTML 1.0, all the way upto XHTML Mobile 1.0. Unless you have a very compelling reason to use something else, most people are using either HTML 4.0 Transitional, XHTML 1.0 Transitional, or the new standard, which is HTML 5.

If you just browse, go to Google and browse for doctype declaration history or something like that, you're going to read about how the doctype declaration is kind of not important as you'd like to think or some people would make you believe. There is absolutely no benefit gained by choosing one over the other for the most part. The reason I like HTML 5, it's not that all of a sudden it becomes this HTML 5 document with magical properties, it's just the most simple, basic doctype declaration there is.

It essentially tells the browser this is an HTML document. It actually doesn't say anything about the version number, and so basically what your browser is going to do is it's going to use the parsing regulations and rules for HTML to parse the document. It's also going to make sure it triggers standards mode instead of quirks mode, so everything renders and parses correctly. All the other ones, they're kind of just fluff to be quite honest with you. For example, the XHTML Transitional one, when most people choose that, they think they're severing their pages XHTML, but they're really not, they're serving it as HTML, but just passing in an XHTML document type declaration.

So again, lot of history to that, go read up about it, there's lot of blog postings and stuff out there where you can read about the doctype declaration. But for our pages, I'm just going to set mine to HTML 5. The next thing it's going to ask is about the default encoding. Now, for the most part the default choice here, UTF-8, is sort of an adopted standard for English speaking languages, but you do have other options. Now, I doubt if you're living in an English speaking country that you'll ever really need to worry about any of the other encoding options, but of course there are people all around the world designing websites.

So Adobe gives you a lot of choices here when choosing your encoding. So I'm going to stick with the UTF-8 encoding. And I've a little checkbox there that says Use when opening existing files that don't specify an encoding. So if you're opening up an HTML file or some other document from another location, if it doesn't specify an encoding, that's what you're going to tell it to use when opening and parsing that file. Just below that we have a little checkbox right here that says Show New Document dialog box on Ctrl+N. So you remember the keyboard shortcut that we talked about earlier, the Cmd+ or Ctrl+N for creating a New Document? You can choose to either have the New Document dialog box, where you get to make all these choices again, come up, or if you want to just stick to these choices, you can deselect that, and now whenever I do my keyboard shortcut of Cmd+N or Ctrl+N, I'm just going to click OK, and show you guys this.

So now I'm just going to do Ctrl+N on the PC, Cmd+N on the Mac. I get a new document that opens up, and notice that now it's using my new document's preferences that I just set instead of the XHTML 1.0, which was the preference before. So now I'm getting exactly what I want. So if you go ahead and set these preferences at the start of each one of your projects, you can really speed up your new document creation by having Dreamweaver create new documents that fit your specifications without really requiring your input or having you go through a lot of dialog boxes.

If you switch projects, or if something within your project changes in terms of standards, it's equally as easy to make few minor changes to your preferences to ensure that Dreamweaver is creating documents exactly the way that you need it to.

Show transcript

This video is part of

Image for Dreamweaver CS6 Essential Training
Dreamweaver CS6 Essential Training

90 video lessons · 52946 viewers

James Williamson
Author

 
Expand all | Collapse all
  1. 1m 4s
    1. What is Dreamweaver?
      1m 4s
  2. 5m 44s
    1. Welcome
      1m 4s
    2. Using the exercise files
      2m 17s
    3. Learning web design
      2m 23s
  3. 1h 0m
    1. Looking at the Welcome screen
      5m 9s
    2. Exploring Windows and Mac interface differences
      5m 6s
    3. Arranging panels
      8m 44s
    4. Managing workspaces
      10m 14s
    5. Exploring the Application toolbar
      6m 21s
    6. Exploring the Document toolbar
      8m 47s
    7. Working with the Property inspector
      9m 30s
    8. Using the Insert panel
      6m 30s
  4. 53m 3s
    1. Understanding basic site structure
      3m 46s
    2. Exploring file naming conventions
      2m 10s
    3. Defining a new site
      5m 23s
    4. Managing files and folders
      7m 57s
    5. Adding remote servers
      7m 4s
    6. Uploading files
      12m 46s
    7. Previewing in browsers
      9m 11s
    8. Managing multiple sites
      4m 46s
  5. 36m 41s
    1. Creating new documents
      6m 49s
    2. Setting up new document preferences
      5m 30s
    3. Setting accessibility preferences
      6m 49s
    4. Working with starter pages
      4m 32s
    5. Managing starter pages
      13m 1s
  6. 37m 23s
    1. Getting text into Dreamweaver
      8m 43s
    2. Importing Word documents
      4m 6s
    3. Adding structure to text
      7m 35s
    4. Creating lists
      4m 35s
    5. Creating definition lists
      4m 0s
    6. Using the Quick Tag Editor
      8m 24s
  7. 44m 41s
    1. Exploring the Code toolbar
      5m 41s
    2. Setting code preferences
      7m 19s
    3. Using code hints
      8m 8s
    4. Wrapping tags
      5m 7s
    5. Adding comments
      6m 29s
    6. Using snippets
      7m 32s
    7. Formatting source code
      4m 25s
  8. 1h 19m
    1. Setting CSS preferences
      9m 32s
    2. An overview of the CSS Styles panel
      9m 23s
    3. Creating a new CSS rule
      6m 42s
    4. Using the CSS Rule Definition dialog
      7m 25s
    5. Organizing styles
      7m 22s
    6. Modifying style properties
      6m 17s
    7. Controlling CSS through the Property inspector
      6m 37s
    8. Attaching external style sheets
      5m 54s
    9. Using CSS visual aids
      7m 3s
    10. Using CSS Inspect
      6m 48s
    11. Using the Code Navigator
      6m 39s
  9. 1h 11m
    1. Managing assets in Dreamweaver
      7m 30s
    2. Setting external image editing preferences
      4m 26s
    3. Placing images on the page
      10m 12s
    4. Exploring Photoshop integration
      7m 17s
    5. Modifying Smart Objects
      9m 42s
    6. Modifying image properties
      8m 4s
    7. Styling images with CSS
      6m 45s
    8. Using background graphics
      7m 28s
    9. Positioning background graphics
      10m 10s
  10. 36m 23s
    1. Link basics
      3m 17s
    2. Setting site linking preferences
      2m 19s
    3. Creating links in Dreamweaver
      9m 17s
    4. Using absolute links
      3m 43s
    5. Using named anchors
      6m 41s
    6. Creating an email link
      5m 25s
    7. Creating CSS-based rollovers
      5m 41s
  11. 44m 30s
    1. Reviewing table structure
      5m 20s
    2. Importing tabular data
      6m 46s
    3. Creating accessible tables
      6m 11s
    4. Exploring basic table styling
      9m 42s
    5. Styling alternate rows
      8m 57s
    6. Creating custom table borders
      7m 34s
  12. 59m 15s
    1. Understanding how forms work
      2m 45s
    2. Reviewing form design
      3m 44s
    3. Creating accessible forms
      5m 16s
    4. Setting form properties
      2m 39s
    5. Using the fieldset and legend tags
      2m 52s
    6. Inserting text fields
      6m 56s
    7. Inserting list menu items
      7m 54s
    8. Inserting checkboxes
      4m 14s
    9. Inserting radio button groups
      3m 52s
    10. Inserting submit buttons
      2m 25s
    11. Exploring basic form styling
      8m 2s
    12. Exploring form element styling
      8m 36s
  13. 33m 25s
    1. Adding CSS3 transitions
      8m 29s
    2. Spry overview
      2m 44s
    3. Using Spry widgets
      3m 57s
    4. Adding Spry effects
      8m 1s
    5. Using the Widget Browser
      7m 4s
    6. Extending Dreamweaver
      3m 10s
  14. 1m 2s
    1. Additional resources
      1m 2s

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold

Are you sure you want to delete this note?

No

Thanks for signing up.

We’ll send you a confirmation email shortly.


Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

Keep up with news, tips, and latest courses with emails from lynda.com.

Sign up and receive emails about lynda.com and our online training library:

Here’s our privacy policy with more details about how we handle your information.

   
submit Lightbox submit clicked
Terms and conditions of use

We've updated our terms and conditions (now called terms of service).Go
Review and accept our updated terms of service.