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

Creating an Online Resume: Hands-On Training

Clearing floats


From:

Creating an Online Resume: Hands-On Training

with Laurie Burruss

Video: Clearing floats

Now to make a clear float I'm going to create a class that is called clear float. Let's go over to the CSS panels and click on New CSS Style. Make sure that you have your Selector Type selected as Class and in here I'm going to type the words clearfloat, then select OK. What you are doing in a clearfloat is essentially creating a no space, kind of like an invisible space, that tells the webpage to go on and start the flow of the content again. But you don't want it to have any height or width or depth or be able to hold any content.
Expand all | Collapse all
  1. 9m 10s
    1. Welcome
      50s
    2. Using the exercise files
      4m 57s
    3. Creating a custom font list
      3m 23s
  2. 23m 7s
    1. Overview
      1m 52s
    2. Distributing your resume
      3m 29s
    3. Resume formats
      6m 43s
    4. Comparing good and bad resumes
      11m 3s
  3. 38m 0s
    1. Striving for fluidity, not rigidity
      5m 12s
    2. Font types, web-safe fonts, and font measurements
      10m 44s
    3. Principles of typography
      10m 35s
    4. Online resources and applications
      11m 29s
  4. 1h 26m
    1. Setting up the web site folder
      2m 46s
    2. Defining the web site
      3m 43s
    3. Setting up a custom workspace
      5m 26s
    4. Creating a new web page with resume content
      4m 56s
    5. Marking up header tags
      3m 53s
    6. Inserting tags for unordered lists
      3m 43s
    7. Inserting tags for definition lists
      3m 12s
    8. Formatting URLs
      5m 23s
    9. Creating and linking an external style sheet
      5m 9s
    10. Styling the body tag
      15m 31s
    11. Styling the header tags
      8m 6s
    12. Styling the paragraph tags
      4m 3s
    13. Styling an unordered list
      3m 48s
    14. Styling a definition list
      6m 1s
    15. Creating a custom class style
      4m 20s
    16. Creating a custom ID style
      3m 32s
    17. Applying a print-specific CSS layout
      2m 54s
  5. 52m 24s
    1. Creating a new document in Fireworks
      6m 15s
    2. Creating a background tile in Fireworks using Gradient Fill and Texture Fill
      5m 59s
    3. Slicing background tiles in Fireworks
      2m 37s
    4. Optimizing and exporting background tiles in Fireworks
      6m 12s
    5. Creating background tiles using online applications
      6m 5s
    6. Creating a page-like resume
      3m 50s
    7. Deleting unneeded CSS styles for this resume version
      1m 56s
    8. Adding a Wrapper div
      3m 33s
    9. Styling the Wrapper div
      8m 52s
    10. Controlling the vertical spacing
      1m 24s
    11. Zeroing out margins and creating a faux drop shadow
      5m 41s
  6. 1h 9m
    1. Setting up the HTML and CSS documents
      2m 15s
    2. Deleting unneeded CSS styles for the pro version
      1m 12s
    3. Creating the Header div
      3m 37s
    4. Creating the Content div
      2m 25s
    5. Creating the Sidebar div
      2m 20s
    6. Styling the Wrapper and Sidebar divs
      4m 56s
    7. Styling the Content div
      3m 7s
    8. Styling the Header div
      3m 33s
    9. Nesting a div tag inside the Sidebar div and styling the sidebar content
      6m 21s
    10. Inserting images to create rounded page edges
      4m 12s
    11. Styling images
      3m 59s
    12. Clearing floats
      3m 55s
    13. Creating font-size style for the Body tag
      2m 13s
    14. Fine-tuning resume styles
      4m 38s
    15. Adding a border to the Content div
      2m 38s
    16. Linking to a PDF
      4m 58s
    17. Organizing styles in the CSS panel and inserting comments in the style sheet
      4m 42s
    18. Creating and styling a print style sheet
      8m 56s
  7. 1m 33s
    1. Goodbye
      1m 33s

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 an Online Resume: Hands-On Training
4h 40m Intermediate Sep 24, 2009

Viewers: in countries Watching now:

In Creating an Online Resume: Hands-On Training, interactive design professor and enthusiastic educator Laurie Burruss teaches how to produce an online resume—and create a first web site in the process. Laurie suggests structure and information needed to create a winning resume, and shows how to design the pages with simple typographic principles and effective layouts. She explains how to use Cascading Style Sheets (CSS) and control the design and structure of HTML documents through hands-on development. Exercise files with additional supporting materials accompany the course.

Topics include:
  • Creating a simple text document for use inside Dreamweaver
  • Formatting HTML tags with semantic or meaningful markup such as unordered and definition lists
  • Externally linking a Cascading Style Sheet to a web page
  • Creating and applying unique styles to XHTML documents using HTML tags, compound selectors, custom classes, and IDs
  • Creating tiling background images in Fireworks
  • Using the DIV tag in combination with CSS to create effective layouts that organize content
  • Applying principles of web typography
Subject:
Web
Author:
Laurie Burruss

Clearing floats

Now to make a clear float I'm going to create a class that is called clear float. Let's go over to the CSS panels and click on New CSS Style. Make sure that you have your Selector Type selected as Class and in here I'm going to type the words clearfloat, then select OK. What you are doing in a clearfloat is essentially creating a no space, kind of like an invisible space, that tells the webpage to go on and start the flow of the content again. But you don't want it to have any height or width or depth or be able to hold any content.

So you're going to see a rather unusual style that I create. I am going to select the Type category first and the font-size is going to be 1. The line-height though is going to be 0. Then I'll go into the Box category and give it a height of 0. And as you can see, what I'm doing is I'm flattening out all the vertical space of this box, or this tag that's making it just to have no space at all. But the important thing here is that you need to set the Clear. The Clear will restart the flow of the documents. So that it goes down vertically as it was going before we used the float.

We wanted just to go stack, stack, stack, stack, stack like stacking boxes. So, be sure you do Clear both and then go ahead and click OK. How do I apply this clearfloat? The easiest way to do this is just to simply put a break at the end of your content area. So, in Split View, on the Code side, I want you to locate the Close div tag for content, because that's where the float occurs. It's in the content and the sidebar divs. So, I'm going to come down here at the end and again, these comments really help me find where these divs begin and end.

I'm going to put my I-beam after all of the main content, then hit my Return key, and I'm going to type a break in here, like a line break. So, I'm going to do caret on the left br, forwards slash, caret. Now, because I've created a clearfloat class that has no real height, I'm going to attach it to this break right here. So, what I'm going to do is come right in here to the break area, insert my I-beam right after that tag for the break.

Hit the Spacebar and I'm going to type Class. Again, I get my code hints right away, class is what I want and it's highlighted blue. So, if I hit my Enter key, it will tell me what to do next. It says, you're trying to create a class, and you need to put it between these two quotation marks. The class that I want is clearfloat, so I can just select the clearfloat with my cursor and then hit my Enter key. Now, if I hit Refresh and go back into Design view, you'll see that that space that we were seeing there before has closed up, because the flow has been restarted by vertically stacking box on top of box.

Let's do a File > Save All, and make sure that is in fact, occurring when we go out to the browser. So let's scroll down to the bottom. Yay! It works. We have done a great job. We have got our document reflowing after the float and now our image at the bottom is budding right up against our wrapper. This is exactly what we want. Now the good thing about doing it this way is that we could add any amount of content that we want to into the wrapper and the images at the top and bottom would maintain their position.

So, this allows us to have a flexible amount of content. It could be shorter or it could be longer and it will not change the way our layout works. This is a great way to work and it takes a little more time and effort, but by doing this you have a flexible document that can expand and grow with whatever content that you need to put inside it. Let's close out of Firefox and return back to Dreamweaver. And I think we are ready for that last critical look and seeing what we can do to just give it all those pro touches.

There are currently no FAQs about Creating an Online Resume: 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.

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 Creating an Online Resume: Hands-On Training.

Return to your organization's learning portal to continue training, or close this page.


OK

Course retiring soon

Creating an Online Resume: Hands-On Training will be retired from the lynda.com library on April 24, 2014. Training videos and exercise files will no longer be available, but the course will still appear in your course history and certificates of completion.


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