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

Creating a CSS Style Guide: Hands-On Training

Previewing a web page in a browser


From:

Creating a CSS Style Guide: Hands-On Training

with Laurie Burruss

Video: Previewing a web page in a browser

At this point in the web design and development process, you should be using browsers, testing in browsers and comparing browsers. As I said, designing for the web is designing for a moving target. You'll have a large audience and you have no idea what kind of browser they are using, who their Internet provider is or what kind of machine they are using at the other end. So you have got to be flexible. What you are trying to do is create web pages that have the same feel and look from browser to browser. There are a number of ways to preview your page in a browser and there are some new features in Dreamweaver CS4 that allow you to see a simulation of a preview in a browser.
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

Previewing a web page in a browser

At this point in the web design and development process, you should be using browsers, testing in browsers and comparing browsers. As I said, designing for the web is designing for a moving target. You'll have a large audience and you have no idea what kind of browser they are using, who their Internet provider is or what kind of machine they are using at the other end. So you have got to be flexible. What you are trying to do is create web pages that have the same feel and look from browser to browser. There are a number of ways to preview your page in a browser and there are some new features in Dreamweaver CS4 that allow you to see a simulation of a preview in a browser.

Let's go up to the button Live View at the top of your document window. Clicking on this gives a simulation of what your page will look like in your primary targeted browser. In this case, my primary browser is Firefox, so Dreamweaver is making an attempt to preview or simulate that look inside of Dreamweaver. The links even work when I choose this particular Live View method. What you have to remember using Live View is that you cannot edit in Live View. And many, many times when I'm using it, I forget and go oh-oh, what happened? But if you click on anything and you get this blue, you know you are in Live View. Just simply go up and toggle it off.

My preference is to actually test, preview and compare in actual browsers. So I'm going out to my Preview in Browser button and selecting Firefox. Now, I haven't done this before but it's important to preview your website in different sized viewports. Notice, I'm changing the size of this. One thing you should notice is that no matter what I do, the image is not changing size. We talked about it before. This is a fixed pixel width. This image is always going to be the width that it is, 780 pixels.

However, the text or the body text is adapting and fitting into the size of the viewport as I do this. The only thing you will notice is as I make it smaller, it becomes longer and longer and more and more to scroll. Keep in mind, you can't control this experience; your users can set their viewport to whatever size they want. I like to grab the Firefox window when it's like this and drag it next to my document window and compare the difference between the two display images. So I have the sense of what I'm designing for in Firefox and what it looks likes actually to me inside of Dreamweaver. I have gotten pretty good at kind of knowing what the two look like.

As you can see Firefox has slightly larger fonts and text and the colors are slightly more intense and there is a color shift. I'm going to click back on Dreamweaver, then also open up my secondary browser, which in this case is Safari. But if you were working in Windows, you would be opening up your Internet Explorer browser at this point. So, now I have got another browser open and I'm going to bring my browsers all to the front. So the browser on top is Firefox, this browser right here is the Safari browser and I have them all now lined up side by side, so I can see how they display. In the case of Safari and Firefox, you can see that they are very, very similar and that's good news. It means that if a user opens up my page inside of Firefox or in Safari, they are going to have a similar experience.

The other good news is that generally users don't use more than one browser to surf the Internet. So as I said before, what we try to target is that the experience and impression that the user receives is the same across all browsers and across all platforms. If we could also open this up in Windows, you would see a difference in size of text and in a color shift as well. So just keep in mind, it's a moving target. You just have to make it feel good and make it work so that if they open one in one browser and then later open in another browser, in their memory it's exactly the same experience.

I am going to close the Safari browser and go back into my Firefox browser and expand that. Now, because we really have a webpage, we have structure, we have HTML, we have CSS style sheets, I'm going back to my Web Developer toolbar and use some of those tools to see what's going on in my page. Let's click on the CSS dropdown menu and choose View CSS. So this is great, it finds all of my styles, it lets me know they in fact are embedded styles right here. It tells me those embedded styles exist inside of this document right here styleguide_03 .html and I can see all of the styles right there. This is great for me, it's easy to find. I can even print this out, show this to other people, use it on my team. So I'm going to close that tab.

The other thing I would like to check out is how does my structure look inside of the Web Developer toolbar. Have I created a good, sound structure, a semantically correct structure? So I'll select the Outline and go through the dropdown and Outline my Block Level Elements. Wow! That looks really good, just the way I would like that to be. The strongest structure is one box right on top of the other box or one rectangle right on top of the other rectangle. This is also good because it's color coded. The red indicates to me that these are my H1 and P tag or tags that effect text. The green indicates lists, different tags that deal with lists, are unordered, ordered and definition lists, and the purplish blue indicates the table that I inserted.

So this gives me a very visual way of looking at my website. I use the Web Developer toolbar a lot with my clients. It's a good teaching tool. It informs them about what we are doing and the kind of work that it takes to create a really good web standards, acceptable webpage. One last thing you can do also in Outline, if you want to see the names of those tags you can click on Outline and say Show Element Names when Outlining. Again, a feature that I really like. It makes it easy as a beginner to start learning these tags and understanding how they work inside of Dreamweaver, inside of HTML, and most importantly, how they work for the user inside of a 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

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.