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

Dreamweaver CS3 Essential Training
Illustration by

Formatting text with the Property Inspector


From:

Dreamweaver CS3 Essential Training

with Garrick Chow

Video: Formatting text with the Property Inspector

In this exercise, were going to how to format text by modifying the typeface, size, and color. When you change font styling with a Property inspector, as we saw in the previous chapter, {italic}Dreamweaver{plain} writes a series of styles for you so, you don't even have to define any CSS styles yourself at all. And, as we've already seen to some extent, creating and formatting text with {italic}Dreamweaver{plain} is just as easy as working with any word processing program. Since I'm working on a new chapter, I have a new set of files to work with. I have the 07_typography folder on my desktop here. I'm going to choose Site > New Site. I'll call this "teacloud 07", and again it's just another version of the same teacloud site we've been working on. Click on OK.
Expand all | Collapse all
  1. 1m 12s
    1. Welcome
      1m 12s
  2. 21m 0s
    1. HTML vs. XHTML
      3m 4s
    2. What is CSS?
      3m 48s
    3. What is XML?
      2m 11s
    4. What is DHTML?
      1m 9s
    5. What is JavaScript?
      1m 23s
    6. File naming conventions
      3m 22s
    7. What is an index page?
      6m 3s
  3. 46m 18s
    1. Setting up your workspace
      2m 39s
    2. The Welcome screen
      4m 11s
    3. Windows and Mac differences
      3m 18s
    4. The Insert bar
      4m 38s
    5. The Property Inspector
      1m 50s
    6. The Document toolbar
      6m 6s
    7. The Document window
      9m 11s
    8. Panels and panel groups
      6m 58s
    9. Saving workspace layouts
      2m 22s
    10. Defining a default browser
      5m 5s
  4. 24m 59s
    1. Defining a site
      9m 5s
    2. File and folder management
      3m 11s
    3. Understanding path structure
      3m 17s
    4. Adding content to a site
      6m 6s
    5. Creating a site map
      3m 20s
  5. 38m 39s
    1. Creating a new blank site
      6m 0s
    2. Creating and saving a new document
      7m 54s
    3. About DOCTYPE
      3m 59s
    4. Inserting images
      9m 26s
    5. Inserting text
      3m 35s
    6. Aligning text and images
      4m 9s
    7. Inserting meta tags
      3m 36s
  6. 45m 58s
    1. Link basics
      6m 4s
    2. Linking with Point to File
      5m 18s
    3. External links
      4m 15s
    4. Creating email links
      5m 49s
    5. Named anchors
      7m 37s
    6. Linking to a file
      7m 35s
    7. Image maps
      9m 20s
  7. 1h 8m
    1. About CSS
      4m 52s
    2. Anatomy of a style sheet
      4m 10s
    3. CSS and page properties
      10m 11s
    4. Moving an internal style sheet to an external style sheet
      6m 46s
    5. The CSS Styles panel
      3m 48s
    6. CSS selectors
      2m 37s
    7. Type selectors
      12m 13s
    8. ID selectors
      10m 21s
    9. Class selectors
      5m 42s
    10. Creating rollovers with pseudo-class selectors
      7m 22s
  8. 42m 54s
    1. CSS vs. the Font tag
      2m 42s
    2. Formatting text with the Property Inspector
      8m 41s
    3. What measurement should I use?
      3m 15s
    4. Managing white space with margins, padding, and line height
      8m 34s
    5. Using font lists
      5m 45s
    6. Aligning text
      2m 47s
    7. Creating lists
      5m 8s
    8. Creating Flash text
      6m 2s
  9. 43m 19s
    1. About tables
      1m 28s
    2. Tables in Code view
      2m 36s
    3. Creating and adding content to tables
      7m 40s
    4. Changing table borders with XHTML
      5m 46s
    5. Coloring tables with XHTML and CSS
      6m 41s
    6. Aligning table content
      6m 39s
    7. Sorting tables
      3m 6s
    8. Setting table widths
      4m 48s
    9. Creating rounded-corner tables
      4m 35s
  10. 28m 22s
    1. Dreamweaver's layout tools
      3m 8s
    2. Tracing images
      4m 58s
    3. Adding AP div tags
      7m 29s
    4. Working with Layout Tables
      6m 55s
    5. Adjusting table widths and nesting tables
      5m 52s
  11. 16m 19s
    1. What is a device?
      3m 14s
    2. Attaching a printer-friendly style sheet
      3m 5s
    3. Styling for print
      7m 41s
    4. Adobe Device Central
      2m 19s
  12. 29m 54s
    1. Rollover rules
      3m 31s
    2. Creating simple rollovers
      5m 36s
    3. Creating disjointed rollovers
      7m 12s
    4. Creating navigation bars with multiple states
      9m 21s
    5. Creating Flash buttons
      4m 14s
  13. 26m 32s
    1. Viewing the code
      6m 9s
    2. Editing in Code view
      3m 0s
    3. The Code toolbar
      5m 11s
    4. Working with Code Collapse
      4m 27s
    5. The Quick Tag Editor
      2m 20s
    6. Working with snippets
      5m 25s
  14. 32m 45s
    1. About forms
      3m 23s
    2. Adding text fields
      9m 52s
    3. Adding checkboxes and radio buttons
      5m 37s
    4. Adding lists and menus
      6m 5s
    5. Submitting form results
      3m 23s
    6. Styling form elements with CSS
      4m 25s
  15. 23m 17s
    1. Opening a new browser window
      9m 38s
    2. Creating a popup message
      2m 50s
    3. Validating text fields
      2m 42s
    4. Getting more behaviors
      7m 2s
    5. Removing extensions
      1m 5s
  16. 14m 58s
    1. External image editor preferences
      3m 18s
    2. Built-in image editing tools
      3m 11s
    3. Roundtrip editing from Dreamweaver to Fireworks or Photoshop
      4m 39s
    4. Copying and pasting
      3m 50s
  17. 34m 16s
    1. Templates in action
      5m 12s
    2. Creating a new template
      6m 36s
    3. Applying templates
      3m 36s
    4. Modifying a template
      1m 40s
    5. Adding repeating regions
      3m 28s
    6. Working with repeating regions
      3m 13s
    7. Adding optional regions
      3m 34s
    8. Creating a library item
      3m 48s
    9. Modifying a library item
      3m 9s
  18. 13m 2s
    1. Using the History panel
      4m 24s
    2. Saving History steps as commands
      3m 25s
    3. Using Find and Replace
      5m 13s
  19. 14m 44s
    1. W3C accessibility guidelines
      4m 6s
    2. Accessibility preferences
      1m 29s
    3. Inserting accessible images
      3m 2s
    4. Inserting accessible tables
      2m 53s
    5. Inserting accessible form objects
      3m 14s
  20. 26m 17s
    1. About media objects
      2m 6s
    2. Linking to audio and video files
      5m 56s
    3. Embedding audio and video files
      7m 7s
    4. Setting parameters
      4m 27s
    5. Inserting Flash content
      2m 37s
    6. Inserting Flash video
      4m 4s
  21. 28m 47s
    1. Getting site reports
      3m 35s
    2. Checking links sitewide
      3m 30s
    3. Signing up with Tripod
      6m 36s
    4. Entering remote info
      4m 13s
    5. Publishing your site
      5m 41s
    6. Updating and publishing pages
      5m 12s
  22. 44s
    1. Goodbye
      44s

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 CS3 Essential Training
10h 22m Beginner Apr 16, 2007

Viewers: in countries Watching now:

In Dreamweaver CS3 Essential Training, instructor Garrick Chow delves into the many powerful features of the latest version of this powerful web design application. He covers everything from the simplest basics of using Dreamweaver CS3 to applying it to develop a fully interactive, accessible site. Garrick explains the new interface features, and demonstrates how to create, edit, manage, design, and publish a professional website with Dreamweaver CS3 and complementary applications. Exercise files accompany the training.

Subject:
Web
Software:
Dreamweaver
Author:
Garrick Chow

Formatting text with the Property Inspector

In this exercise, were going to how to format text by modifying the typeface, size, and color. When you change font styling with a Property inspector, as we saw in the previous chapter, {italic}Dreamweaver{plain} writes a series of styles for you so, you don't even have to define any CSS styles yourself at all. And, as we've already seen to some extent, creating and formatting text with {italic}Dreamweaver{plain} is just as easy as working with any word processing program. Since I'm working on a new chapter, I have a new set of files to work with. I have the 07_typography folder on my desktop here. I'm going to choose Site > New Site. I'll call this "teacloud 07", and again it's just another version of the same teacloud site we've been working on. Click on OK.

Alright, so now my site's defined, and I'm going to open up the file aboutus.html. So, you can see we have a version of the page that we've seen before, except it's missing some key text, which we're going to be adding throughout these exercises. We'll start by clicking up here, above this image. Put my cursor there, and I'm going to type in a little bit of text here, so people know where they are. So, it'll be "About Us:Our Goal". Now, I want to change the appearance of this text. So, I have select that text in order to change it. Down here on my Properties inspector, I'm going to change its Font from the Default to the Georgia, Times New Roman, Times Font set. And, it's now displayed in the Georgia Font.

I'm going to keep that text selected, and I also want to change the size. So, I'm going to come down here to Size field. We could select from this Menu here. But, I want this to be specific Size, so I'm going to type in "20", and we'll leave the value at pixels. We have several different values we can choose from, and I'll be talking about some of these values in the next movie, but for now we're going to leave it at pixels. That made our text a little bit bigger, and now I'm going to change the color, we have this little unmarked color well here, but this is where we change the color of our text. We could either choose from sample up here, or somewhere on our page, or we could also come in here, and actually type in a Value. In this case the Value I decided on is "#68887C", and there's the color.

I can see now that I've quickly formatted my text just by using the Property inspector down here. Let's go over to Code view, and see what {italic}Dreamweaver's{plain} written for us. Scroll up towards the top, and first of all you'll notice that it has created the Style tag here. It's called it "style1", and there's font family, size, and color that I've chosen there, and if I go and find that aboutus text that created, right here. You'll see that it added this attribute to the Paragraph tag. There's the "p" tag, and the attribute is "class=style1". So, when the browser sees this line, it says okay, any text that follows this tag should be formatted in the style1 format, which we see up here, until we see the closing "p" tag. And, that's why our text is displayed that way.

Now, this text is more of a heading for this page. We've made it larger, we made it a different color. So, this text seems like a good candidate to actually format as a heading. So, with my cursor anywhere inside that block of text, I'm going to come down here to the Property inspector and change this to "Heading 1". If I go look in the code, you can see that the tag has change from "p" to "h1". There's the opening, there's the closing tag. But, the attribute has still stayed the same with style1. Now, heading tags as you can see here, range from Heading 1, through Heading 6. And, most browsers will display your headings with decreasing font size as the numbers get larger, so a h1 is going to be rendered the largest, and h2 a little bit smaller, h3 a little bit smaller, and so on.

But, headings aren't just there to make your text larger or bolder. They also serve a very useful purpose, which is giving your pages structure, and that accomplishes several different things on its own. First of all there's a readability issue. Headings make the page easier to read by breaking things into smaller digestible pieces. People reading your site are more likely to skim through a long page of text, instead of reading an entire article line by line. By providing a heading occasionally, it breaks up all that text and viewers can get right to the text that they want. Headings also provide accessibility. Vision impaired users often use audible readers, which read web pages to them. Heading text can be used by the screen-readers to make it much easier for people to navigate through a page and using heading tags also increases the findability of your site.

Search engines love headings because they represent text of some increased importance. If something is a heading, it must be relevant to what immediately follows it, so search engines will give more weight to text in a heading than it will to text in the rest of the documents, so if you make your headings useful, and relevant the search engines will love you. So, the advice here is to use Heading tags instead of just increasing the font size or by making text bold when you want to have a headline. By using the heading tags you are giving your page structure and making it more meaningful. All right, let's continue formatting some of our text here. By default, heading tags are bold, but for the teacloud layout, maybe we don't want that.

So, let's open up our CSS Styles panel. I'm going to scroll down to here. We're already linked to an external style sheet called styles.css, very similar to what we created in the previous chapter, but here's my internal style sheet, and there's style1, and I'll right-click on that, and I'll choose Edit. I could've also clicked the Edit button down here. Here in the type category, for the weight, I'm going to choose "normal", because I want my heading to not to be bold, but just a normal weight. Lets click on OK, and see what happens. There it is. It's still heading, but I've just changed the style definition. What we've done here is okay, but anytime I want an h1 tag to look like the one I set up, I need to apply that style class to it. If I have fifty h1 tags in my site, I need to apply the class to every single one of them. So it's much better to use a type selector to redefine how all the h1 tags are displayed.

You just have to update that one type selector, and all fifty h1 tags will automatically be updated. But, in {italic}Dreamweaver, {plain}the only way to change a CSS selector from one type to another, is to switch to Code view, and change it manually, so let's go to Code view. And we'll find our style, which is right here ".style1". I'm going to delete that and just change the selector here to "h1". And that's all I need to do. I'm going to go back to Design view. Notice nothing has changed here because this is already in h1.

Notice down here in the Style menu it no longer says "style1" here, in fact it doesn't even exist in here anymore because we got rid of it. Notice here, the only internal style now says "h1" so, we got rid of that class style, and we turned it into a tag selector. Now I can click anywhere else on my page, and if I added an h1 tag to something, you would look exactly like the text that we see right there at the top. Lets type a headline here, "What Would the World Do Without Tea?". If you look closely at the text below there actually evades the question.

but we'll ignore that for now. Lets take this text, and will give this a format of h2 or Heading 2, and of course, that doesn't really look good on the rest of the page, so let's change what h2 looks like. Now, even though I have h1 in my internal style sheet, or embedded style sheet. I probably want to eventually move all of my styles to this external style sheet. So, let's go ahead and create a new style. I'll go to Tag. I want to redefine the h2 tag, and instead putting it in just this document, I'm going to add this to my external style sheet. It's one last thing I'll have to move to it afterwards.

So, I'll click on OK, and let's set the size to 11 pixels for the Weight, we'll keep this bold, and let's pick a color. In this case, the color we'll use is 949D87, and we'll click OK to add it to our style sheet, and right away there it is, all formatted like that. The one last thing I want to do this, is to redefine the font family of the body of the document. The h2 tag we just created in the paragraph below it, definitely don't look right in their default fonts right now.

So, let's create another style here. We'll come over here. Click New style, and since we want to change the default text, I'm going to select Tag, and we'll select "body". Redefining the body Tag effects everything in the entire document. And, this is a really great way to set the default styles for every element on the page. That way you only need to code for the exceptions to the role that you're setting up of the body, such as changing the font face for the h1, or the font size of h2. So, I'm going to make sure this is going to be attached to the external style sheet. I'll click on OK. And, in the Type category, we're going to change this to Verdana, and let's set a Size to "11" pixels, and we'll click on OK. Alright, so now this site looks a little bit more uniform, and closer to the way it looked in previous chapters. But, there's still some things we want to fix with margins, and paddings, and line height, and we'll be doing those in the following movies.

For now, I'm just going to make sure I save both my page and my style sheet, and before we get into formatting this page some more, I just want to take some time in the next movie to talk a little bit about text measurement units.

There are currently no FAQs about Dreamweaver CS3 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 CS3 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.