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

Start learning with our library of video tutorials taught by experts. Get started

Dreamweaver CS6 Essential Training
Illustration by
Watching:

An overview of the CSS Styles panel


From:

Dreamweaver CS6 Essential Training

with James Williamson

Video: An overview of the CSS Styles panel

The CSS Styles panel acts as a central hub for all things CSS in Dreamweaver, providing you with both a global view of all document styles, as well as allowing you to focus on individual rules in style applications. You'll find the CSS Styles panel in the CSS Panel Group, which is usually located at the top of the panel dock, although you can reposition it in custom workspaces if you'd like. If you don't see the panel, you can go up to Window and choose CSS Styles, and it should open up. Now, at the top of the panel you'll find buttons for two views; All and Current.
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

Watch this entire course now—plus get access to every course in the library. Each course includes high-quality videos taught by expert instructors.

Become a member
please wait ...
Dreamweaver CS6 Essential Training
9h 24m Beginner May 07, 2012

Viewers: in countries Watching now:

Discover how to build web sites, prototypes, and more in this course on Adobe Dreamweaver CS6. Author James Williamson shows designers how to take control of their site by properly naming and structuring files and folders; how to create new documents and web pages from scratch or with starter pages; and how to add content such as text, images, tables, and links. James also provides a background on the languages that power projects built in Dreamweaver—HTML and CSS—and introduces the programming features in the application, for developers who want to dig right into the code. The last chapter shows how to finesse your project with interactive content such as CSS3 transitions and Spry widgets.

Topics include:
  • Choosing and customizing a workspace
  • Defining a new site
  • Uploading files to your site
  • Creating new documents and web pages
  • Formatting source code
  • Working with CSS
  • Placing images and background graphics
  • Creating links
  • Styling a basic table
  • Creating a web form with buttons, check boxes, and list menus
  • Adding Spry effects
Subject:
Web
Software:
Dreamweaver
Author:
James Williamson

An overview of the CSS Styles panel

The CSS Styles panel acts as a central hub for all things CSS in Dreamweaver, providing you with both a global view of all document styles, as well as allowing you to focus on individual rules in style applications. You'll find the CSS Styles panel in the CSS Panel Group, which is usually located at the top of the panel dock, although you can reposition it in custom workspaces if you'd like. If you don't see the panel, you can go up to Window and choose CSS Styles, and it should open up. Now, at the top of the panel you'll find buttons for two views; All and Current.

The Current View gives you a detailed view of all the rules applied to a selected element, while the All View gives you an overview of all the CSS Styles applied to the current document. Before we start creating styles in earnest, let's take a moment to get comfortable with finding our way around and using the CSS Styles panel. So to do that, I am going to work with the index file that we have here from the 06_02 folder. And you may have noticed the CSS Styles panel takes up a lot of room, especially when you have a lot of styles going on, so what I've done is I've sort of minimized all the other panels.

The Files Panel, I've got that minimized, I just have the CSS Styles Panel opened up. Now, currently we're looking at the All view, we'll take a look at the Current view in just a moment. And what I'm doing is with this Properties pane I am same sort of bringing it down a little bit so I can see more of these rules. All right! So currently what I am looking at right now is, I am looking at all of the rules that apply to the current document that I have open. So every time you open up a new document, if you have a different set of rules that apply to that, or that it's linking out to, you are going to see those listed there as well. Now, I want to minimize these really quickly so you can see the difference in how the CSS Styles Panel reports on the styles that you have attached to that particular document.

The first thing that I see listed is main.css. Now, that tells me that this is an external style sheet. How do I know it's an external style sheet? Well, there are a couple of reasons. Number one, I know because it has a .css extension, and number two, it's not within this sort of style tag that you're seeing here. Anytime you see the style tag represented like this, that's essentially an embedded style that's contained within the style tag in the head of the document. If I, for example, were to go over to Code View, you can see in the head of the document I have that style tag right there that's being reported by the CSS Styles panel.

And what's nice about that is it means that you're not going to have to do a lot of hunting through the code of your file to figure out which styles have been applied and what order those styles are in. The other very interesting thing here that we have about the CSS Styles panel is that the order that you see these in are the order that they are encountered in the code itself. And that actually is very, very important to CSS, because CSS has something called the cascade, cascading style sheets. Cascade basically says last rule applied wins. So obviously any rule that's further down this list, if there is a conflict to the rule above it, for the most part that rule is going to override the rule above it.

So this also helps you get an idea as to which styles are being applied and what order they are being applied in. Another thing that we get from this sort of basic overview of all the styles in our file are these two properties right here: screen and projection. That's basically telling you the value of any media attribute that has been applied to our style. So it's basically saying, okay, these particular styles are going to apply to any devices that are screen devices or projection devices. Now, that's actually handled when you use links to link to an external style, that's handled through this media attribute that you're seeing right here, so that's being reported in the CSS Styles dialog box, and once again, that's something that I'm not going to have to go into the code and check.

Now, if I don't see something there, that means the media attribute has not been defined. Now, as soon as I expand this, I can see every single rule in my external style sheet, which makes it very easy to scan through and kind of find what you are looking for. Now, obviously, how you've organized the style sheet matters, because you are going to see these rules in the exact order that they are found. Now, if you decide to highlight one of these rules or focus on it in any way, you're going to get even more information. So if I click on this rule right here, this pageHeader h1, you'll notice that the Properties panel below this now is activated and I'm seeing exactly what is contained within the rule.

As a matter of fact, I am just going to sort of move this up a little bit so I can see more of these, because I want to talk about the different ways that we can view these properties. You'll notice at the bottom left-hand corner of the CSS Styles panel that we have three icons. The first one shows your Properties in Category view. Now, in a moment we are going to talk about defining new CSS rules using the CSS Rule Definition dialog box. Essentially what you're seeing is these properties grouped into categories, such as all the properties that might be associated with the Fonts or the Box Model or Lists.

So if you're looking for a specific property and you know which category it's in, this is a very easy way to sort of sift through all of that and find exactly what you're looking for. Now, the next one is a List view of all the different CSS properties. You'll notice if I scroll through this, there are a lot of them. And to be quite honest with you, this isn't quite all of them, but it's very, very close. So what about the ones up top? Well, anytime you see a property that's in blue and it's at the top of this particular type of view, those are the properties that have actually been set on this rule.

So the ones down below it that are in black are not set, but you have the option of setting them. And then finally, we have the third view and this one is my favorite, and this is the Show Only Applied Properties. This filters it out so the only thing you're looking at are the actual properties that have been applied to this rule and the values of those properties. What's nice about this is anytime you see a property listed in blue in this panel, that means that you can click on that and you can change it. So if I wanted to change this say Margin value, I could just click on that and type in the value I wanted for the margin, same thing for the text-indent, the top position of this, any of these properties that I want to modify I can.

I can also add more properties here as well. So if I were modifying my CSS Styles, and we'll do this a little bit later on, I could go ahead and continue to add all the properties that I want without ever having to actually touch the code, which is nice. Now, I want to show off the Current View as well, but to do that we're going to have to focus on an element on the page itself. So what I am going to do is I am going to click inside this paragraph right over here, and then clicking on that I then want to focus on exactly the element that I want to look at in terms of its styling. And to do that I am going to use the Tag Selector right down here on the bottom. I am going to click right there in the , that means a paragraph that has the class of branding applied to it.

And once I click on that, it focuses on that. Now, the CSS Styles panel is going to pick up on the fact that I'm now focused on a specific element on the page. So if I go over to the Current view, you'll notice that it's giving me the rules for this . Now, here this can be a little bit more confusing the first time you see this, so I want to talk about what these different panes are. First off, notice that it's pretty easy for me to resize these panes so that I have a little bit more room in one versus the other. So the top pane is a summary for this selection.

It's not really focused on how many rules or which rules are applied to it, but it's basically saying, okay, here is like the entire styling for this, everything all combined, this is what it is. So it's very easy for you to look through this and determine whether the proper font or the proper size is being applied to that, anything like this. Now, the second pane, this middle one right here, this is the one that confuses the most people. This is the cascade essentially, the rules. So these are all of the rules in your styles that are applying to this element. There are a lot of rules that have properties applied to them that are then inherited by their children.

Now, in this case the paragraph is obviously a child of the home header area or the body tag and the styles that are applied to that will also a lot of times apply to the paragraph. And I can use this cascade rule to see if the selector that I wrote is applying in the order that I wanted it in. For example, selector right here, basically that is an element specific class selector, and it's saying that anytime you find a paragraph with a class of branding, apply this style. That's a pretty specific selector, because of that it is the last rule applied, meaning its properties are going to overwrite any of the properties of these rules if there's a conflict between them.

So I can very quickly and easily tell if the rule is applying within the cascade in the order that I want it. The next pane we have here is the exact same pane that we have in the All view, which is just the Properties itself, and I can come in here and I can change these properties and do whatever I want. Notice, for example, I can Add a Property. I am just going to go ahead and add one here, and I am going to add color. Now, I can grab this pull-down menu and choose color from that if I don't know all of those properties or know exactly which property I am looking for or I can just type it in, either way. When I choose color, it also gives me the option of going ahead and grabbing the color picker and choosing a color that way, or if I want, I can highlight the value and I could type in anything that I want.

So I could even use a keyword notation in this case, which is white, and I'll still get the same results. Now, as soon as I do a Save All and deselect this, you can see that, that color has now been applied to that rule. So it's a very quick and easy way to select an element on the page, flip right over to the CSS Styles panel, see what type of formatting is being applied to it, and then modify that, again, without ever having to go into the code. I know it probably seems to you like we've covered a lot of ground with the CSS Styles panel, but to be honest, we have really only just scratched the surface of what it can do.

Don't worry, we are going to be using the CSS Styles panel throughout the rest of the chapter, indeed as well as the rest of the title, which is going to give you plenty of time to familiarize yourself with these capabilities, as well as exploring some of its additional functionality.

There are currently no FAQs about Dreamweaver CS6 Essential Training.

 
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.
Upgrade now


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 Upgrade now

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

Congratulations

You have completed Dreamweaver CS6 Essential Training.

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


OK
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?

Become a member to like this course.

Join today and get unlimited access to the entire library of video courses.

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:

The classic layout automatically defaults to the latest Flash Player.

To choose a different player, hold the cursor over your name at the top right of any lynda.com page and choose Site preferencesfrom the dropdown menu.

Continue to classic layout Stay on new layout
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.

Are you sure you want to delete this note?

No

Notes cannot be added for locked videos.

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.