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

Exploring CSS Positioning

Comparing the web page to the graphic design


From:

Exploring CSS Positioning

with Candyce Mairs

Video: Comparing the web page to the graphic design

Now that I have my page put together, and it's in the correct structure, the content exists, the colors are more or less correct. What I want to start doing is comparing my actual webpage. What you see on the left with my original design, which is on the right. Now, one of the first things I notice is this color in my webpage is just a little bit darker than that color in my design. So, I think I need to lighten the background color. But the idea is, once you start comparing, just make a list of the different items that are slightly different between the two. And it's a matter of going into modify the CSS Properties to adjust for those minor issues.
Expand all | Collapse all
  1. 1m 13s
    1. Welcome
      1m 13s
  2. 33m 20s
    1. Why CSS positioning?
      5m 50s
    2. HTML editors
      3m 18s
    3. Getting set up
      3m 39s
    4. Previewing pages in browsers
      3m 51s
    5. Customizing the HTML editor
      5m 32s
    6. Exploring browser variances
      5m 16s
    7. Browser extensions
      5m 54s
  3. 30m 33s
    1. HTML vs. CSS: Which does what?
      9m 55s
    2. HTML div tags
      4m 57s
    3. CSS properties
      6m 21s
    4. The CSS box model
      9m 20s
  4. 28m 46s
    1. Planning the page layout
      3m 47s
    2. Building the header box
      6m 23s
    3. Positioning with HTML
      3m 36s
    4. Positioning with CSS
      8m 21s
    5. Foreground vs. background content
      6m 39s
  5. 25m 44s
    1. Building the menu box
      5m 7s
    2. Adding the menu links
      4m 58s
    3. Formatting the menu with CSS
      6m 43s
    4. Positioning the menu with CSS
      8m 56s
  6. 21m 42s
    1. Adding the middle column
      6m 29s
    2. Creating a CSS rule for the column
      6m 20s
    3. Adding CSS rules for the column
      8m 53s
  7. 19m 49s
    1. Adding the right column and inserting images
      7m 33s
    2. Completing the right-column content
      4m 18s
    3. Formatting the right column using CSS
      7m 58s
  8. 26m 14s
    1. Understanding the float property
      6m 5s
    2. Applying the floats
      6m 1s
    3. Finishing the floats
      6m 24s
    4. Adding CSS properties to the right column
      7m 44s
  9. 30m 59s
    1. Setting up for background colors
      5m 49s
    2. Adding a footer
      8m 50s
    3. Adding the background colors
      7m 20s
    4. Positioning the footer
      9m 0s
  10. 16m 38s
    1. Comparing the web page to the graphic design
      6m 50s
    2. Adjusting the web page as needed
      4m 25s
    3. Adding the final touches
      5m 23s
  11. 2m 43s
    1. Closing thoughts
      2m 43s

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...
Exploring CSS Positioning
3h 57m Beginner May 24, 2012

Viewers: in countries Watching now:

CSS enables you to control the look and layout of a web page much more precisely than you could with HTML alone, but it can be time-consuming to learn. In this workshop, expert developer Candyce Mairs makes styling a quick and easy process, walking you through the process of adding content to a web page and using CSS to position that content. Candyce explains CSS positioning concepts like the CSS box model, floats, and clears and demonstrates how HTML and CSS work together to create the look of your web page. By speaking the same language as the browser, you can learn to work with the browser to place content accurately and easily.

Topics include:
  • Previewing pages in browsers
  • Customizing the HTML editor
  • HTML vs. CSS: which does what?
  • Building the header area
  • Adding the navigation menu
  • Positioning using a float
  • Adding background colors and images
  • Comparing the web page to the graphic design
Subjects:
Web Web Design video2brain
Software:
CSS
Author:
Candyce Mairs

Comparing the web page to the graphic design

Now that I have my page put together, and it's in the correct structure, the content exists, the colors are more or less correct. What I want to start doing is comparing my actual webpage. What you see on the left with my original design, which is on the right. Now, one of the first things I notice is this color in my webpage is just a little bit darker than that color in my design. So, I think I need to lighten the background color. But the idea is, once you start comparing, just make a list of the different items that are slightly different between the two. And it's a matter of going into modify the CSS Properties to adjust for those minor issues.

So, that's what we've been looking at now. I am going to figure out which portions of the page are different and what CSS Properties I need to modify in order to make them the same. So, one of the first things I notice is destinations here has a space underneath it. On the right, it does not. So, what I need to do is modify this destinations area. Now, this is in the left column and it's a Header 2. My Header 1 is up at the top, so this is a Header 2 and I can modify my left Header 2 CSS rule.

To adjust that, another thing I want to modify is upcoming events. Here I have lower case letters, over here that are upper case. So, I want to go into the right column and modify the Header 2, which is what this tag is for upcoming events, and set that to all uppercase. I'll let CSS convert all those letters to uppercase.

So, I have three things I'm going to do. I'm going to lighten the background color, I'm going to modify the Header 2 in the left column, and I'm going to modify the Header 2 in the right column. So, let's go take care of that. I'll close these up and go back to my page. Now, the first thing is the background color, and the background color for that entire lower area in the light blue is controlled by pound content.

So, I'm going to go in. And here's what I need to modify, specifically those six characters. And my new color is going to be CDE4F6. So, I've figured out what color I want to place in there to lighten up the page just a little bit, and better match my graphic. Now, the next thing I need to modify is in the left column, the Header 2, which is right here. And this is my destinations word.

And what I want to do is get rid of some of the space underneath destinations. Because it's a Header 2, it automatically adds space underneath that tag. So, the way I can get rid of that is say margin bottom, because it's on the bottom, and I'll just guess at minus 10px. And that sounds about right. I'll do this, look at the page and I can modify from there. And the last piece is the header to end my right column, and I want this one to uppercase every letter.

And the way you do that is by using this CSS Property called Text Transform. What I'm going to do is not capitalize, which is highlighted now. What that does is capitalize only the first letter. I'm going to choose Uppercase, and that will make every letter uppercase. So, think of text transform as representing what you want done for every individual letter, not word. So, those three properties should be changed.

Let's take a look. And I'm going to look at the same browser I was looking at before. Here is my page, and you can see my destinations. That looks pretty good, so I don't think I need to modify that. Upcoming events is all capitalized a bit huge, but (LAUGH) it's definitely capitalized. And the other piece is the background of my page is just a little bit lighter. Now, I do think this text over here in my right column could all be made a bit smaller.

It's awfully large compared to the text in my left column. So, I'll modify my right column, both the paragraph tags, which control this, and the Header 2 tag which controls the header for that region. And once that's done, I'll go back and take a look at my graphic design again. See if there's any additional properties I need to modify. So down in the right area, my Header 2 is 1.1m.

So, I'm going to drop that down to 1m, just slightly, and my .85 I'll drop down to .8. That should make those just slightly smaller. So, let me put it back in Firefox. Take a look and that looks much better. Now, there may still be some additional things that need to be done. But those I had to find and comparing my graphic design with my web page have no been resolved. And this process continues until you feel your page directly matches the graphic design.

So, that is how you work with CSS Properties and modify them to match your graphic design, and you can see you have a lot of control over those properties. So, once you get to this point in your web design, it's fairly simple minor modifications that will make the difference in your web page. So, that's how to modify CSS Properties.

There are currently no FAQs about Exploring CSS Positioning.

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 Exploring CSS Positioning.

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


OK

Course retiring soon

Exploring CSS Positioning 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. For updated training, check out CSS: Page Layouts in the lynda.com Online Training Library.


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