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

Creating a CSS Style Guide: Hands-On Training

Creating links with CSS


From:

Creating a CSS Style Guide: Hands-On Training

with Laurie Burruss

Video: Creating links with CSS

The Page Properties dialog box has some other styles that we can create. Looking at the page right now you can see that our links look very generic and don't match the design that we are starting to create here using styles. So let's go down to the Page Properties button, which is in the Properties Inspector, and click on it. In the Category I'd like you to look at Links CSS and click on that category. Links as you remember is another way of saying A for anchor tag. I'm happy with our font. I like the font that we have chosen for this page and I'm happy with the size of our links right now. So I don't think I'll override or change that.
Expand all | Collapse all
  1. 6m 58s
    1. Welcome
      1m 9s
    2. Objective of this course
      3m 38s
    3. Using the exercise files
      2m 11s
  2. 28m 26s
    1. Starting Dreamweaver for the first time
      3m 38s
    2. Defining a website
      4m 3s
    3. Understanding the Dreamweaver interface
      9m 43s
    4. Setting up a custom workspace
      4m 10s
    5. Setting essential preferences
      6m 52s
  3. 56m 54s
    1. Laying out a page in a text document
      3m 40s
    2. Creating and saving a new document
      3m 27s
    3. Inserting an image
      8m 22s
    4. Marking up text using the Property Inspector
      6m 48s
    5. Marking up text by hand
      9m 21s
    6. Inserting, formatting, and selecting a table
      8m 16s
    7. Creating links
      12m 26s
    8. Styling a footer
      4m 34s
  4. 22m 15s
    1. Using Modify Page Properties to create embedded styles
      12m 22s
    2. Creating links with CSS
      4m 55s
    3. Working with Code, Split, and Design views
      4m 58s
  5. 8m 52s
    1. Defining browsers to test a web page
      2m 24s
    2. Previewing a web page in a browser
      6m 28s
  6. 16m 44s
    1. Using a span tag to add a class and customize appearance
      10m 34s
    2. Using the Tag Inspector to create and edit additional styles
      6m 10s
  7. 48m 42s
    1. Exporting existing styles into an external style sheet
      7m 0s
    2. Using the CSS Styles panel to add a new style
      5m 43s
    3. Using the div tag to create a content container
      11m 8s
    4. Overriding the default browser styles
      2m 46s
    5. Applying padding and margins
      4m 57s
    6. Styling header tags
      5m 34s
    7. Creating and styling compound tags
      5m 12s
    8. Editing preexisting rules
      6m 22s
  8. 19m 36s
    1. Improving the Footer
      5m 12s
    2. Commenting a CSS style sheet
      7m 0s
    3. Creating a custom color palette
      7m 24s
  9. 3m 6s
    1. Style sheet final review
      3m 6s

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...
Creating a CSS Style Guide: Hands-On Training
3h 31m Beginner Mar 06, 2009

Viewers: in countries Watching now:

A web site is just a web site unless it’s designed with a unique style. Creating a CSS Style Guide: Hands-On Training highlights the importance of a CSS style guide, which serves as an interface for the design team and a communication tool for the client. Laurie Burruss calls on her background as director of digital media at Pasadena City College and takes an informative, real–world approach to this topic. She shows how Dreamweaver CS4 can be used to develop a coherent site–wide emotion that boosts brand identity. The course culminates with building a working web style guide for professional use. Exercise files and a downloadable PDF quiz accompany the course.

Download the exercise files from the Exercise Files tab.

Topics include:
  • Planning a site from a blank file
  • Creating and editing a style guide with just HTML
  • Using the Property Inspector for text markup
  • Inserting images, tables, and footers for a custom look
  • Creating and editing an external CSS style sheet
  • Building a custom color palette for a site
  • Testing web pages in various browsers
  • Styling tips for professional sites
Subject:
Web
Software:
CSS
Author:
Laurie Burruss

Creating links with CSS

The Page Properties dialog box has some other styles that we can create. Looking at the page right now you can see that our links look very generic and don't match the design that we are starting to create here using styles. So let's go down to the Page Properties button, which is in the Properties Inspector, and click on it. In the Category I'd like you to look at Links CSS and click on that category. Links as you remember is another way of saying A for anchor tag. I'm happy with our font. I like the font that we have chosen for this page and I'm happy with the size of our links right now. So I don't think I'll override or change that.

But I would like to change the state of the links so that they behave differently and look differently then the default settings that we find in browsers. There are four states to links or A tags. There is a mnemonic device that will help you remember that. Just remember the words love, hate. L in love for Link, V in love for Visited, H for hover or Rollover and A in hate for Active. When styling links I think the most important thing to distinguish is between your Link color and your hover or Rollover color. Visited and Active, the user hardly notices because they just happen so quickly.

So to keep this simple and to make it work it with our header tag up there, I pick two colors for the Link, Visited and Active areas. And one color for the Rollover because the Rollover or hover link should be very clearly defined and clue the user in to the fact that this is a hot link, something I can do that I can interact with. So let's go to the Link color, put our cursor inside that box. Remember every color needs to start off with the hash mark. And the color we are going to type in here is 663B18 then tab to the next box and our Rollover color is going to be #AE833E. Now as I said before I like to keep it simple for the user.

So I'm going to use the Link color that I have already created for Visited and Active. I can select this, copy it and then paste it to the other boxes. If you want to see it update just remember to keep tabbing that will establish the color inside the box. Now I can go down here and get a preview by clicking on the Apply button. That looks good but it still looks a little bit like a generic browser link. So one of the things its great is I can actually change when the underline appears in a link. Let's go up to Underline style and look at our choices. We can leave it Always underlined, Never underlined, Show underline only on rollover or hover, or Hide the underline on rollover.

In this case I have decided I'd like to have the underline only show when the user rolls over the button. Again let's try clicking Apply and notice you can't see anything. This is an interaction that the user has to have with this link. The best place to preview interactive areas on your web page is in a browser. Let's click OK, save your page, go up to preview in browser and go up to Firefox. So as I hover over each of these buttons notice the color state changes and the underline appears. This is exactly what I was looking for something simple but something definitive to make the user know they have done the right thing.

Let's close Firefox, focus again on Dreamweaver and let's see how that looks in our code. Remember embedded styles will always show up at the top in the head tag in a style tag. There are four states for a link and they are showing up in the order that I described. L, love, V in love, H for hate, A for the A in hate. They need always to appear this way and in this order. This is very important to remember. You can't change the order of this in code. They will not display properly inside the browser or really work correctly if you put them in a different order.

You don't need to use all four states but they always need to appear in this order. Let's go back to Design view. We have done a great job of using Page Properties and its dialog box to create some good initial styles for our web page granted they are embedded styles. But it's a great place to start to begin to understand how styles work and what they do to make your page look great in the browser.

There are currently no FAQs about Creating a CSS Style Guide: Hands-On Training.

Share a link to this course
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

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 Creating a CSS Style Guide: Hands-On 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
Welcome to the redesigned course page.

We’ve moved some things around, and now you can



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.

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