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

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

Dreamweaver CS6 Essential Training
Illustration by

Controlling CSS through the Property inspector


From:

Dreamweaver CS6 Essential Training

with James Williamson

Video: Controlling CSS through the Property inspector

While the CSS Styles panel is where you're going to be doing the majority of your CSS related tasks in Dreamweaver, the Properties Inspector allows you to do a fair amount of CSS based work as well, and sometimes in a much more direct fashion then the CSS Styles panel. It is important to note however, that without understanding what the Properties Inspector is doing in regards to CSS, you can cause some major issues within your site. So let's take a moment to examine how the Properties Inspector works with your site's CSS.
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

Controlling CSS through the Property inspector

While the CSS Styles panel is where you're going to be doing the majority of your CSS related tasks in Dreamweaver, the Properties Inspector allows you to do a fair amount of CSS based work as well, and sometimes in a much more direct fashion then the CSS Styles panel. It is important to note however, that without understanding what the Properties Inspector is doing in regards to CSS, you can cause some major issues within your site. So let's take a moment to examine how the Properties Inspector works with your site's CSS.

I'm on the programs.htm page, which can be found within the programs directory of the 06_07 subfolder and I'm just going to click in this first link right here for Academic Links because there's a very small change that I want to make to this, and really usually when I use the Properties Inspector to modify my CSS, it's for a small incremental, sort of these immediate changes I want to make, not really these large edits on style. So usually it's for really small, very quick things that I want to do. Okay so I've clicked inside this first link where it says Undergraduate Degrees and I'm going to go look at the Properties Inspector.

Now, remember there are two tabs on the Properties Inspector. There's HTML and there's CSS. I want to make sure that I'm looking at the CSS tab here. When I do that, I see a couple of things going on but the first thing that grabs your eyes, especially if you're a graphic designer coming from another program like InDesign or something like that, is we see this section right over here on the right-hand side, that allows us to choose a Font, a Size, a Color and you're going to be tempted the first time you open up Dreamweaver and start working with it is to highlight an element on the page, and begin formatting it.

But it doesn't quite work that way. You'll notice that if you hover over one of these properties, let's say this Font property. If I hover over in here it, I get this little tool tip that comes up and tells me, The property 'font-family' is inherited from the rule, and then it just goes on this really long sort of CSS reset that I have in my Styles. If I hover over Size, it tells me The property 'font-size' is inherited from the rule 'section.info li' and if I hover over the Color that tells me it's inherited from the rule A. So I've got three separate properties, that are being basically inherited or applied or styled if you will, from three separate different selectors and that's actually quite common in files where you have CSS applied because you would like to write your rules as globally as you can, and have those properties inherit.

It's just a much more efficient way of working. So it's very tempting to just come over here and change something but you're have be aware of where the styling is coming from. The other thing that you want to be aware of is if you do make a change, what rule is that going to be changing. We found that out by coming right over here to the Targeted Rule pulldown menu. You can see that by clicking on any of the elements on the page, this Targeted Rule is going to change to reflect what you've just selected. So by clicking into this first link in this Academic Links sidebar, it's targeting the rule that's applying to any of those links which are inside of one of the Info sections.

Now if that's what I want, and in this case it is, I leave that alone. But it's not what I want you'll notice that I can grab that pulldown menu. I'm going to scroll all the way to the top and just sort of move down. You'll notice that I can apply to any rule that's within the Cascade that applies to where I'm focused, and what that means is, I'm not going to see every single selector in my CSS. I'm only going to see the selectors that apply to the element that I'm focused on. So it helps you sort of filter it out, so that you don't have to guess which rules are applying here. The next thing you can do is you can create a brand new CSS rule.

So if you want to create a new rule targeting this element, I can do that. You can also apply what's known as an Inline Style and it's worth noting this is the only automated way within Dreamweaver to create an Inline Style. Any other way you are going to have to do it by hand. An Inline Style is style that's written within the tag itself as an attribute. So I would go into that link tag and then use a Style Attribute and then write my selector. That's one way to do that. Or I can apply a class, so I could take any other classes that have been written in the CSS, and I can apply those as well. Well I'm actually quite happy with the Targeted Rule the way it is.

So I'm going to leave that alone. So the next thing I'm going to do is instead of just telling it to inherit whatever default font I've placed on the body tag, I want to grab that pulldown menu and I'm actually going to choose that Bitter, Georgia, Times, serif stack that we created earlier and put it in our favorites. So again, it's another great reason to use that favorites list because you get to choose that wherever you are within Dreamweaver. So as soon as I select that, it's going to change the font over here, and the other thing it does for me is it tells me, when I hover over this, that now that property 'font-family' is inherited from the rule "section.info li a.

So this is the rule that we were targeting. So even though it was inheriting it from that long CSS reset before, changing that property isn't necessarily going to change it in terms of the rule that's originally inheriting it from. It's going to change it, based on what's over here in the Targeted Rule. Now you can see that the options that we have here in terms of formatting are fairly limited. We only Fonts, Font Size and Color, we also have the ability to do Bold, Italic and change the Alignment, but for the most part, very small subset of properties. What if you want to edit more than that? Well, you could switch over to the CSS Styles panel, or based on what rule you have selected in Targeted Rule, if you click Edit Rule, that's going to bring up the CSS Rule Definition dialog box.

So it's going to give you very quick access to much broader range of choices for you. Now if you do decide that you want to go to the CSS panel, you can just click right here on the CSS panel button, and it's going to jump to the current view of the CSS Styles panel, and it's going to focus on whatever element you have selected. Now you may or may not have seen that particular button enabled or not. You'll notice that the CSS Styles panel is currently open, doesn't matter if you're looking at the All or the Current rule. If it's open and you click on elements that button does not highlight, it's not selectable.

However, if I minimize the CSS Styles panel, or if I close it altogether, now when I click on an element I can go back, activate the CSS panel button and jump to the current view. So it's one of the things where the circumstances have to be exactly right, in order for that particular functionality to present itself. So using the Properties Inspector to speed up your CSS workflow makes a lot of sense. But as you can see, you really need to be aware of exactly which rule you're adding to or editing, as you use it to modify your CSS. Now my guess is that as your command over CSS grows and you get more comfortable, structuring the styles within your site, you'll find the Properties Inspector an indispensable part of your day-to-day workflow.

Initially however, I really want to caution you to be careful when using it, so you don't make unintended changes throughout your site.

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.