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

Typography with CSS in Dreamweaver
Illustration by

Applying CSS3 text effects


From:

Typography with CSS in Dreamweaver

with Joseph Lowery

Video: Applying CSS3 text effects

Adding shadows to text and other elements is a solid way to literally make them stand out. Before the CSS3, Text Shadow property gained a significant browser support it has, the only way to create text with a shadow was with a graphics program. Now, text shadows are readily available via CSS, and they open the door to a wide range of effects. In this video I'll show you two; how to create the standard drop shadow effect, as well as letterpress text. Let me show you where we're going first.
Expand all | Collapse all
  1. 3m 52s
    1. Welcome
      1m 19s
    2. Using the exercise files
      2m 33s
  2. 19m 16s
    1. Working with the Property inspector's HTML tab
      2m 0s
    2. Making the most of the Property inspector's CSS tab
      4m 57s
    3. Defining and changing type with the CSS Rule Definition dialog
      6m 16s
    4. Modifying type directly in the CSS Styles panel
      6m 3s
  3. 19m 45s
    1. Understanding type measurement unit options
      2m 50s
    2. Working with pixels
      2m 34s
    3. Defining a percentage-based page with ems
      6m 51s
    4. Letting users set page type size
      7m 30s
  4. 17m 36s
    1. Getting to know the basic font categories
      1m 32s
    2. Employing web-safe fonts
      3m 20s
    3. Defining new font families
      3m 22s
    4. Exploring CSS3 typeface options
      3m 9s
    5. Setting up @font-face
      6m 13s
  5. 9m 39s
    1. Dispelling the myth of web-safe colors
      1m 13s
    2. Applying color to type
      4m 52s
    3. Incorporating semi-transparent type
      3m 34s
  6. 19m 46s
    1. Setting the font-weight
      3m 48s
    2. Mandating font case
      2m 25s
    3. Exploring font variants
      1m 50s
    4. Utilizing white space effectively
      3m 40s
    5. Changing letter and word spacing
      2m 20s
    6. Defining first-line variations
      2m 19s
    7. Inserting drop caps
      3m 24s
  7. 20m 17s
    1. Applying CSS3 text effects
      5m 26s
    2. Designing type gradients
      8m 27s
    3. Rotating text with CSS transform
      6m 24s
  8. 15m 21s
    1. Implementing advanced headings with HTML5
      3m 11s
    2. Preparing CSS3 multiple-column layout
      4m 50s
    3. Future type: Defining CSS Regions
      7m 20s
  9. 24m 51s
    1. Styling unordered lists
      6m 51s
    2. Specifying a sequence with ordered lists
      5m 14s
    3. Applying definition lists
      7m 19s
    4. Targeting list items with CSS3 nth child
      5m 27s
  10. 20s
    1. Next steps
      20s

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 ...
Typography with CSS in Dreamweaver
2h 30m Intermediate Jul 29, 2011

Viewers: in countries Watching now:

Dive deep into key typographic concepts and learn how to manipulate type in Dreamweaver. Author Joseph Lowery introduces Dreamweaver type tools and shows how to perform basic text modifications, establish the appropriate type unit, integrate custom web fonts, and apply drop shadows, gradients, and other effects. The course also provides in-depth tutorials on structuring text with headings, paragraphs, columns, and lists, and offers a preview of Adobe's proposed CSS Regions.

Topics include:
  • Modifying type in the CSS Styles panel
  • Understanding the different type measurement unit options
  • Allowing users to set page type size
  • Employing web-safe fonts
  • Exploring CSS 3 typeface options
  • Setting up @font-face
  • Applying color and transparency to type
  • Styling the font weight, case, and letter spacing
  • Inserting drop caps
  • Rotating text with CSS transform
  • Laying out text in multiple columns
  • Incorporating ordered and unordered lists
  • Targeting lists items with the nth-child selector
Subjects:
Typography Web Web Design
Software:
Dreamweaver
Author:
Joseph Lowery

Applying CSS3 text effects

Adding shadows to text and other elements is a solid way to literally make them stand out. Before the CSS3, Text Shadow property gained a significant browser support it has, the only way to create text with a shadow was with a graphics program. Now, text shadows are readily available via CSS, and they open the door to a wide range of effects. In this video I'll show you two; how to create the standard drop shadow effect, as well as letterpress text. Let me show you where we're going first.

So the text here, Ojai Olive Company, and the subheading below it that shows the duration of the tour as well as the price, we're going to turn into text like this, where there's a drop shadow added to Ojai Olive Company, and the ability for the text shadow property to take multiple shadows is used to create the letterpress effect you see in the price and duration area. Alright, let's close out our final page, and get to work. So the page I have open here is tour_ details.htm, and that's found in the Chapter 6 > 06_01 folder.

I have my CSS Styles panel open and we're in Current mode. Now, actually the easiest way to enter in text shadow is using the Properties pane of the CSS Styles panel. So let me go ahead and click into Olive Oil Company, my h2 heading there, and you can see I already have a rule set up for that. So I'm just going to go over and add a property. Click on Add Property, and type in text-shadow, and then press Tab. If you're a Dreamweaver CS5 user, you'll need to enter in the values manually.

If however you're a Dreamweaver CS5.5 user, there is an interface that you can use, and I'll show you that in just a moment. To specify the text shadow you'll need to enter in four different values: an X-Offset, a Y-Offset, the Blur radius, and the Color. So in this case we're going to make a rather traditional drop shadow that extends to the right and below. So our offsets are going be 1 pixel. This is the X value. So that's going to start the shadow 1 pixel to the right, and then 1 px for the Y offset, that will start the shadow 1 pixel down, and then the Blur Radius, and this value specifies how large the text shadow should be.

Let's make ours 3 pixels in radius and then finally the color, and for the color I'm going to choose a dark gray, 666 and then just hit Return. Now notice that the drop shadow was applied to both bits of text here. That's fine. We'll do a more specific drop shadow for the duration and price in just a moment. But I wanted to show you, if you're using Dreamweaver CS5.5, how to take advantage of the built-in Edit Interface. So if you click on the Plus button here, the Edit Interface will open up and you can see that you have controls for entering in X-Offset, Y-Offset, the Blur radius, and a standard Color Picker for choosing the color.

Now of course you can modify these values however you want. Let's, for the moment, increase it to let's say 6 and then close it out by just clicking away from it, and you can see a more general shadow appears. Let's tighten that back up by just changing the value from 6 to 3. So now let's move on and do our letterpress effect. One of the cool things I think about the text shadow property is you're not restricted to doing one shadow; you can actually put in as many shadows as you need.

To demonstrate this, let's go in, and I will put my cursor in the duration and price area, and here you see that there is actually a span with the class of tour cost. So when I select that, that CSS rule is displayed in the CSS Styles panel and we're going to go ahead and enter in our text shadow property again, and the first shadow I'm going to specify will be the opposite of the traditional shadow. In other words, it will go up to the top and to the left, instead of to the right and below.

So we do that by using negative values for the offsets. So it's going to be -1 px for the X- Offset, and -1 px for the Y-Offset, and then a slightly darker color than what we have now specified for the text color, which is as you can see here 666. So we'll go with 333. To enter multiple shadows, all you have to do is separate them with a comma. After my comma, I'll put in a more traditional drop shadow of 1 px for the X-Offset, 1 px for the Y-Offset, and because we're going to put in a darker background in just a second, I'm going to make my shadow white.

So I will put in the pound sign, and then fff. Okay, I'll hit Return and you can see a little bit of a change, but you won't see the full effect until you add a background color. So I'll type in background-color, and I want this background color to be a little on the light side, but not completely white. So I'll choose the #CCC value and there you have the final letterpress effect. Whether you're using a single shadow to give your text some depth or multiple shadows to achieve a more elaborate effect, the text shadow property is very easy to use and extremely powerful.

There are currently no FAQs about Typography with 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.
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 Typography with CSS in Dreamweaver.

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.