Start your free trial now, and begin learning software, business and creative skills—anytime, anywhere—with video instruction from recognized industry experts.

Start Your Free Trial Now

Style formatting options


Managing CSS in Dreamweaver

with James Williamson

Video: Style formatting options

Style formatting options provides you with in-depth training on Web. Taught by James Williamson as part of the Managing CSS in Dreamweaver
Expand all | Collapse all
  1. 4m 12s
    1. Welcome
      1m 10s
    2. Who is this course for?
      1m 5s
    3. Using the exercise files
      1m 57s
  2. 1h 21m
    1. Controlling CSS in Dreamweaver
      2m 34s
    2. Style formatting options
      4m 59s
    3. Controlling shorthand notation
      6m 9s
    4. Building a style-focused workspace
      6m 10s
    5. CSS Styles panel overview
      8m 18s
    6. The Properties Inspector
      6m 39s
    7. Creating styles visually
      11m 32s
    8. Hand-coding styles
      8m 15s
    9. Code hinting and code completion
      7m 11s
    10. Modifying styles visually
      5m 24s
    11. Using the Code Navigator
      4m 47s
    12. Using CSS Inspect
      9m 52s
  3. 1h 14m
    1. Structuring style sheets
      4m 52s
    2. Writing a style header
      2m 40s
    3. Building a color guide
      6m 5s
    4. Writing a style sheet table of contents
      8m 46s
    5. Creating sections for styles
      9m 10s
    6. Using the CSS Styles panel to organize styles
      10m 29s
    7. Resolving conflicts
      7m 3s
    8. Organizing style properties
      9m 33s
    9. Writing a CSS reset
      5m 20s
    10. Writing global classes
      3m 57s
    11. Creating a style guide
      6m 6s
  4. 1h 7m
    1. Preparing custom starter pages
      11m 32s
    2. Building custom starter pages
      10m 8s
    3. Working with code snippets
      9m 54s
    4. Writing snippets
      11m 30s
    5. Importing snippets
      6m 3s
    6. Understanding snippets libraries
      8m 11s
    7. Building a CSS framework using snippets libraries
      10m 36s
  5. 52m 15s
    1. Writing a print style sheet
      10m 3s
    2. Creating print-specific styles
      10m 45s
    3. Preparing modular styles
      4m 33s
    4. Creating modular style sheets
      7m 9s
    5. Checking browser compatibility
      6m 25s
    6. Using conditional comments for Internet Explorer
      6m 58s
    7. Optimizing CSS with Dreamweaver
      6m 22s
  6. 38s
    1. Goodbye

please wait ...
Watch the Online Video Course Managing CSS in Dreamweaver
Video Duration: 4m 59s4h 40m Intermediate Jun 03, 2010

Viewers: in countries Watching now:

View Course Description

Managing CSS in Dreamweaver with James Williamson shows how to create cascading style sheets that are efficient, reusable, and easy to navigate. In this course, James shares tips on how to find and use panels and tools, and how to deploy style sheets to screen, print, and mobile environments. Course topics include creating customized starter pages, learning to rapidly hand-code CSS through using Snippets, and using Dreamweaver's CSS preferences to deploy lightweight styles. Exercise files are included with the course.

Topics include:
  • Building a CSS-friendly workspace in Dreamweaver
  • Creating style sheets visually
  • Hand-coding styles
  • Working with code hinting
  • Organizing style sheets with color coding and sections
  • Writing global classes
  • Eliminating style conflicts
  • Deploying styles
  • Dealing with browser compatibility issues
James Williamson

Style formatting options

Everyone, as they say, likes to work a little bit differently. Although the foundation of how Dreamweaver manages CSS is fairly static, there are some ways that you can customize this process to meet your individual preferences. To a degree, Dreamweaver allows you to customize how your styles are created, presented, and formatted. Before we get too deep into the multiple ways to create styles in Dreamweaver, let's take a moment to go over Dreamweaver's CSS Preferences and see how we can customize them to meet our specific workflows. I'm just going to scroll around this a little bit to look at the formatting.

You can see that our styles are presented with the selector on one line, and then each of our properties is displayed on a separate line. You'll notice that some of the selectors have spaces between them and some don't. So when these styles were created, and there wasn't a whole of thought given to exactly the formatting and spacing options that we wanted for these. And different people have different preferences, in terms of how they would like their styles formatted. Well, you can control that. So what I'm going to do is I'm going to go up to Edit and choose Preferences.

Now if you're on the Mac, you're going to want to go to Dreamweaver and choose Preferences. So there aren't very many differences between the two interfaces, but that's one of the big ones. So I'm going to open up my Preferences. Now, the first one I want to take a look at is the Code Coloring category. You can see behind this that our CSS has certain colors that mean things. So we have sort of magenta for the selectors, a dark blue for the properties and a lighter blue for the values. Notice that we can edit that scheme. So I'm going to come right over here to Code Coloring. For Document type, I'm going to go down and choose CSS, and I'm going to click Edit Coloring Scheme.

Now, in the bottom of this dialog box, I get a preview of what the coloring scheme is. Now, you're free to go ahead and change this to whatever you want; for example, if I didn't like the magenta color for the selectors, I could select that and then choose something else entirely. The problem with that though, if you're in a team environment, you're more than likely going to get used to looking at your styles a certain way. When you get on somebody else's machine, and they have their Code Coloring changed, it can be kind of abrupt. So you might want to be kind of careful about changing any of these things. One of the things that I've always found to be a little confusing is the fact that my properties are sort of a dark blue, and my values are a lighter blue, but there's not a whole lot of difference between the two of them.

So I could grab that, if I wanted to, and maybe make them just a tad bit lighter. Now, there is a really nice visual difference between the two of them. There's a nice contrast there and even though I can still read it, I'm not going to mistake one for the other. So I'm going to go ahead and click OK. Now you can come back and change those preferences at any time. So if you decide after a while looking at it, you don't like it that way, it's easy enough to go back and change. Now the next thing I want to do is go down to my Code Hinting. So in my Categories, I'm going to choose Code Hinting, and I'm just going to make sure that the check box is set here for CSS property names.

You can see all of the different languages and elements that Code Hinting is available for. Now, the default is that CSS property names is going to be turned on. So the only time that's not going to be available is if somebody purposely came in here and turned it off. So if you're working in Dreamweaver, but if you don't see them, you can come right back here into Preferences, and turn them right back on. Let's do one last set of preferences here. I'm going to go to my Code Formatting category, right there, and although the majority of these preferences are talking about HTML, I do have a CSS button here that I can select. So I'm going to go ahead and click that.

Now this changes how Dreamweaver's going to format your CSS source code. So one of the things that I'm going to do is I'm going to turn off each property on a separate line, and then I'm going to turn on Blank lines between rules. You get a nice preview here of what this would actually like. Now, that would be a little bit harder for me to read, so I'm going to turn that back on and keep my Blank line between rules. I'm going to go ahead and click OK. Click OK again, and you see nothing changed. Well, that's OK because nothing is going to change in your Code Formatting until you actually apply the source formatting to your code.

Now, any new code that we create would have those properties, but if you want code that you've already created to look that way, here's all you have to do. I'm going to over to my Coding toolbar, right over here, and since I don't have enough stream real estate to show this, I have to click the Show More icon. If you've got a very high screen resolution, you can probably see this icon without having to do that. But I'm looking for this little paint bucket with the tags. That is Format Source Code. I'm going to go ahead and click that, choose Apply Source Formatting, and now even though it jumped me all the way down to the bottom of the page, I can scroll back up, and we can see that now, for example, all of these properties are on the same line, but I've got nice spacing between all of those guys, and that is extremely readable for when I'm working in, and editing my CSS code.

Now I know that not everyone likes to work with CSS the same way. That's okay. I think it's great that you can change how Dreamweaver displays your CSS to match your personal preferences, and as we'll see a little bit later, these properties can greatly assist you in deploying more efficient styles as well.

There are currently no FAQs about Managing CSS in Dreamweaver.

Share a link to this course

What are exercise files?

Exercise files are the same files the author uses in the course. Save time by downloading the author's files instead of setting up your own files, and learn by following along with the instructor.

Can I take this course without the exercise files?

Yes! If you decide you would like the exercise files later, you can upgrade to a premium account any time.

Become a member Download sample files See plans and pricing

Please wait... please wait ...
Upgrade to get access to exercise files.

Exercise files video

How to use exercise files.

Learn by watching, listening, and doing, Exercise files are the same files the author uses in the course, so you can download them and follow along Premium memberships include access to all exercise files in the library.

Exercise files

Exercise files video

How to use exercise files.

For additional information on downloading and using exercise files, watch our instructional video or read the instructions in the FAQ .

This course includes free exercise files, so you can practice while you watch the course. To access all the exercise files in our library, become a Premium Member.

Join now Already a member? Log in

* Estimated file size

Are you sure you want to mark all the videos in this course as unwatched?

This will not affect your course history, your reports, or your certificates of completion for this course.

Mark all as unwatched Cancel


You have completed Managing CSS in Dreamweaver.

Return to your organization's learning portal to continue training, or close this page.


Upgrade to View Courses Offline


With our new Desktop App, Annual Premium Members can download courses for Internet-free viewing.

Upgrade Now

After upgrading, download Desktop App Here.

Become a member to add this course to a playlist

Join today and get unlimited access to the entire library of video courses—and create as many playlists as you like.

Get started

Already a member ?

Exercise files

Learn by watching, listening, and doing! Exercise files are the same files the author uses in the course, so you can download them and follow along. Exercise files are available with all Premium memberships. Learn more

Get started

Already a Premium member?

Exercise files video

How to use exercise files.

Ask a question

Thanks for contacting us.
You’ll hear from our Customer Service team within 24 hours.

Please enter the text shown below:

Exercise files

Access exercise files from a button right under the course name.

Mark videos as unwatched

Remove icons showing you already watched videos if you want to start over.

Control your viewing experience

Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.

Interactive transcripts

Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

Start your FREE 10-day trial

Begin learning software, business, and creative skills—anytime,
anywhere—with video instruction from recognized industry experts. provides
Unlimited access to over 4,000 courses—more than 100,000 video tutorials
Expert-led instruction
On-the-go learning. Watch from your computer, tablet, or mobile device. Switch back and forth as you choose.
Start Your FREE Trial Now

A trusted source for knowledge.


We provide training to more than 4 million people, and our members tell us that helps them stay ahead of software updates, pick up brand-new skills, switch careers, land promotions, and explore new hobbies. What can we help you do?

Thanks for signing up.

We’ll send you a confirmation email shortly.

Sign up and receive emails about 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

Sign up and receive emails about 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.