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

Creating an Online Resume: Hands-On Training

Styling the paragraph tags


From:

Creating an Online Resume: Hands-On Training

with Laurie Burruss

Video: Styling the paragraph tags

When we made changes to how the headings were presented, we used the Margin property to control the top margin. We set it to 1.5 em for each heading on the page. We also set all the other margins and padding to 0. Let's go look at this back in the browser and see what's going on here. Now when you look at the resulting page in the browser, you might expect all the text underneath the headings to appear butted up against the bottoms of the headings, but this is not the case. This is because each browser has its own internal style sheet that it uses, if there is no style sheet applied to the document.
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

Styling the paragraph tags

When we made changes to how the headings were presented, we used the Margin property to control the top margin. We set it to 1.5 em for each heading on the page. We also set all the other margins and padding to 0. Let's go look at this back in the browser and see what's going on here. Now when you look at the resulting page in the browser, you might expect all the text underneath the headings to appear butted up against the bottoms of the headings, but this is not the case. This is because each browser has its own internal style sheet that it uses, if there is no style sheet applied to the document.

So if I go up to CSS and say Disable Styles > Browser Default Styles, then you get what I just explained. Everything is butted up to each other. But in order for this to appear, you have to override all the default browser stylings. So let's disable that again and go back to way we have it. So as you can see, we've been increasing and increasing the vertical spacing, and we want to go back in with our paragraph tag, and try to decrease some of that. There are default values in every browser for things like margin, padding, font faces, sizes, colors, even paragraphs list items, all the things that we've been styling and formatting all along.

The default values vary from browser to browser. So you need to set explicit styles if you want to have your page appear identical in every browser or on every platform. It is a good idea to get into the habit of setting both the padding and the margin. As sometimes one browser will use margin, and another browser will use padding in their internal style sheets to control the white space. This is particularly true when it comes to how browsers create their indents for lists. If you want to see more about this or learn more about this, go see Jeffrey Zeldman's website, A List Apart, and look at his article called Taming Lists.

So let's go ahead and style the p tag. We'll click over here on New CSS Rule in the CSS Style panel, choose Tag, and there we have our p styled into the right style sheet and click OK. So I guess you are getting into the rhythm of this. The first thing we want to go style is the Box, because that's where the padding and margin is. We'll deselect Same for All, and our Top margin is going to be 0.35 em.

Remember we are continuing to use the relational or proportional measurement system, and we're going to zero out and override what the default browser style sheets are by putting zero in for the rest of them. So that increased or decreased some of that white space, and then the next thing we'll do is also do the same in Padding. In Padding, we're going to get or override all of that default white space by putting zero there and click Apply. Then finally, we're going to go into Type and actually add Line-height or what if you were in the print industry we would call leading.

So essentially, our font right now is about 1 em and we're going to put in here 1.5 em and this will change our line spacing. I'll go ahead and Apply. Now that added a little vertical space, but we also tightened up a little vertical space. It's a game. You have to kind of go back and forth. It's like pickling when you're trying to chase bases in baseball. So let's click OK. Take a look at this. Looking pretty good down here, look through the whole site, then go up to File > Save All, check it one more time in the browser, and remember it's a process where you're always changing one thing and then looking that change in relationship to the other elements that are on the page.

Remember, the web page is kind of a living thing. It's not like print. It's not static. It's not going to be the same. It's going to change depending on the user, the monitor, the operating system, and browser, and we're trying to get a consistent look and feel throughout our web page that makes it easy to read the information and to scan the site. I'm going to close Firefox and return back into Dreamweaver and I just think a few more little finishing touches and we'll have this document almost styled and ready to go.

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