Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member

Improving the Footer

From: Creating a CSS Style Guide: Hands-On Training

Video: Improving the Footer

Essentially we have finished our style guide but in terms of the industry and where we want to place ourselves in the industry and our career goals, we should really take a hard look at what we are trying to do. Adding pro touches, really scrutinizing both the front end and back end, looking at everything in this site, there are few additional things that we could do to send this page right over the top and show we really are the pros we want to demonstrate. We should be always looking for ways to make our portfolio have that little edge and stand out from the others. The first thing I might suggest is we could improve upon the footer. So let's scroll down to the bottom of the page and select that content. Now we learned how to use a div to corral the whole content of the page but why not use that div concept again to create a box around our footer and make it stand out from the rest of the content? Select the text that is the footer text, come up to our favorite toolbar, the Common toolbar, and select the Insert Div Tag. This will be an ID because it's a layout item and can only be used once per page and since this has to do with the footer, we will name it a meaningful name, footer. Now click OK.

Improving the Footer

Essentially we have finished our style guide but in terms of the industry and where we want to place ourselves in the industry and our career goals, we should really take a hard look at what we are trying to do. Adding pro touches, really scrutinizing both the front end and back end, looking at everything in this site, there are few additional things that we could do to send this page right over the top and show we really are the pros we want to demonstrate. We should be always looking for ways to make our portfolio have that little edge and stand out from the others. The first thing I might suggest is we could improve upon the footer. So let's scroll down to the bottom of the page and select that content. Now we learned how to use a div to corral the whole content of the page but why not use that div concept again to create a box around our footer and make it stand out from the rest of the content? Select the text that is the footer text, come up to our favorite toolbar, the Common toolbar, and select the Insert Div Tag. This will be an ID because it's a layout item and can only be used once per page and since this has to do with the footer, we will name it a meaningful name, footer. Now click OK.

As you can see, Dreamweaver puts this invisible or dotted line around it. If we were to preview it in the browser right now, you would not be able to see this. This is an affordance that Dreamweaver CS4 puts inside so that you know that there is a box around this content. Put your I-beam anywhere inside the footer. In the Tag Inspector, you can now see your new ID, a division or box by the name of footer. Select that, return over to your Style panel and select New CSS Rule.

Now we don't need to make a compound selector type. We simply need to style footer. So let's delete all the other content and create a nice style for the footer and we will leave it in our external style sheet, select OK. We are really okay with the type but it would be nice to give this a background color to set it apart from the main content in our page. Let's select the Background category and in the Background-color, insert your I-beam, remember always start your color with the hash mark and this will be CBBE9C, Tab to the next line and that inserts a nice kind of warm tan color. In this particular palette I have being going for the earth tones that appear up in that header image. Select Apply and you can see it update right there in the Design View.

I also think that as we are styling this, it would look much better if the footer was centered then it looks very different than the rest of the body text. So I'm going to select the Block category, remember Block doesn't refer to a box or to a division or to layout, but actually the way text appears in blocks. Under Text-align, I'll click on the dropdown menu and choose center. Let's apply that. That looks exactly like I want it but there is a problem, it's very tight and squeezed. We need to keep adding that breathing space, that negative space so that the content can hold its own on the page. Let's select the Box category because that's where margins and padding reside and I don't want to add margin on the outside, I need to put breathing room on the inside, so as I want to add something to the inside, remember my metaphor, put padding on the inside of the box to protect something.

So let's deselect Same for All and we will do two pixels at the top and on the right, we will leave it as zero because we have already centered that. On the bottom, we will make it two and on the left, we will make it zero. And I'm just going to zero out the margins in case there is a browser style sheet that tries to override this and I'll use zero right here. Select Apply and now we have a little bit of breathing room so that the text is sort of floating in the box and owns this box and then select OK. Refocus somewhere else, File > Save All and now let's go check it out in the browser. And let's scroll through our page and look at this whole page.

Now that looks great. We have our beginning, catching our user, making them want to come in with a great looking compelling image, having content that we can read and understand and follow hierarchical rules and at the bottom our little conclusion, out little footer. It really sets the page off and sets us apart from the other people in this industry.

Show transcript

This video is part of

Image for Creating a CSS Style Guide: Hands-On Training
Creating a CSS Style Guide: Hands-On Training

35 video lessons · 28297 viewers

Laurie Burruss
Author

 
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

Start learning today

Get unlimited access to all courses for just $25/month.

Become a member
Sometimes @lynda teaches me how to use a program and sometimes Lynda.com changes my life forever. @JosefShutter
@lynda lynda.com is an absolute life saver when it comes to learning todays software. Definitely recommend it! #higherlearning @Michael_Caraway
@lynda The best thing online! Your database of courses is great! To the mark and very helpful. Thanks! @ru22more
Got to create something yesterday I never thought I could do. #thanks @lynda @Ngventurella
I really do love @lynda as a learning platform. Never stop learning and developing, it’s probably our greatest gift as a species! @soundslikedavid
@lynda just subscribed to lynda.com all I can say its brilliant join now trust me @ButchSamurai
@lynda is an awesome resource. The membership is priceless if you take advantage of it. @diabetic_techie
One of the best decision I made this year. Buy a 1yr subscription to @lynda @cybercaptive
guys lynda.com (@lynda) is the best. So far I’ve learned Java, principles of OO programming, and now learning about MS project @lucasmitchell
Signed back up to @lynda dot com. I’ve missed it!! Proper geeking out right now! #timetolearn #geek @JayGodbold
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.


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.

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 preferences from 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.

Learn more, save more. Upgrade today!

Get our Annual Premium Membership at our best savings yet.

Upgrade to our Annual Premium Membership today and get even more value from your lynda.com subscription:

“In a way, I feel like you are rooting for me. Like you are really invested in my experience, and want me to get as much out of these courses as possible this is the best place to start on your journey to learning new material.”— Nadine H.

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.