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

What is CSS?

From: Dreamweaver CS4 Essential Training

Video: What is CSS?

Another standard web technology that you'll need to become familiar with when designing websites is CSS or Cascading Style Sheets. CSS is a collection of styles that control the layout in presentation of your XHTML. Styles can target specific elements, IDs, class names or a combination of these elements to provide greater control over specific style application. The main purpose of using CSS is to separate structure and presentation. That way your code is left to describe the meaning of the content while the CSS controls typography and layout. Even better your site is now easier to update and maintain as your CSS can be contained in a single external file.

What is CSS?

Another standard web technology that you'll need to become familiar with when designing websites is CSS or Cascading Style Sheets. CSS is a collection of styles that control the layout in presentation of your XHTML. Styles can target specific elements, IDs, class names or a combination of these elements to provide greater control over specific style application. The main purpose of using CSS is to separate structure and presentation. That way your code is left to describe the meaning of the content while the CSS controls typography and layout. Even better your site is now easier to update and maintain as your CSS can be contained in a single external file.

If you want to change how your main heading looks site wide for example, you can change a single rule and the change will cascade throughout your entire site. Another advantage in using CSS is the ability to change style sheets for different devices. You could use one style sheet for screen devices, another for print and yet another for hand-held devices. That way the same content could be given three very different presentations for different devices. When writing styles you can place them in an external style sheet, embed them within a specific page or write them inline into specific tags. How you write your CSS determines in which order the cascade applies to the styles and gives you greater control over styling.

While we will discuss best practices and strategies for writing your CSS later, it's important to note that Dreamweaver integrates cascading style sheets into every work flow and process that can effect layout and styling. So understanding how CSS works and having a site wide strategy in place prior to building pages is essential to ensuring efficient style application and creation throughout your site.

Show transcript

This video is part of

Image for Dreamweaver CS4 Essential Training
Dreamweaver CS4 Essential Training

140 video lessons · 68207 viewers

James Williamson
Author

 
Expand all | Collapse all
  1. 1m 52s
    1. Welcome
      1m 13s
    2. Using the exercise files
      39s
  2. 14m 50s
    1. Basic site structure
      2m 16s
    2. What is an index page?
      1m 34s
    3. Current web design practices
      2m 21s
    4. What is XHTML?
      3m 9s
    5. What is Javascript?
      1m 38s
    6. What is CSS?
      1m 51s
    7. File naming conventions
      2m 1s
  3. 24m 0s
    1. The Welcome screen
      3m 33s
    2. Windows and Mac interface differences
      2m 7s
    3. The Application toolbar
      2m 34s
    4. The Document toolbar
      3m 0s
    5. Arranging panels
      4m 43s
    6. Managing workspaces
      4m 14s
    7. The Properties Inspector
      3m 49s
  4. 18m 27s
    1. Defining a new site
      4m 12s
    2. Managing sites
      3m 59s
    3. Managing files and folders
      6m 3s
    4. Setting a default browser
      4m 13s
  5. 15m 14s
    1. Creating new documents
      3m 51s
    2. DOCTYPE declarations
      4m 44s
    3. New document preferences
      2m 37s
    4. Working with starter pages
      4m 2s
  6. 20m 14s
    1. XHTML structure
      2m 27s
    2. Structuring content
      4m 11s
    3. Creating lists
      6m 22s
    4. Getting text into Dreamweaver
      4m 11s
    5. Importing Word documents
      3m 3s
  7. 52m 5s
    1. Understanding style sheets
      1m 59s
    2. Anatomy of a CSS rule
      1m 32s
    3. Setting CSS preferences
      3m 56s
    4. The CSS Styles panel
      6m 36s
    5. Controlling CSS through the Properties Inspector
      4m 51s
    6. Using the Code Navigator
      4m 52s
    7. Understanding Element Selectors
      6m 4s
    8. Understanding Class Selectors
      5m 39s
    9. Understanding ID Selectors
      5m 35s
    10. Understanding Descendent Selectors
      5m 30s
    11. Attaching external style sheets
      5m 31s
  8. 1h 0m
    1. Working with units of measurement
      4m 33s
    2. Declaring font families
      6m 3s
    3. Controlling font sizing
      3m 57s
    4. Controlling weight and style
      6m 13s
    5. Controlling line height
      5m 26s
    6. Controlling vertical spacing with margins
      6m 45s
    7. Controlling spacing with padding
      6m 1s
    8. Aligning text
      5m 25s
    9. Transforming text
      4m 27s
    10. Using the cascade to control styling
      11m 56s
  9. 1h 2m
    1. Understanding image types
      5m 1s
    2. Managing assets in Dreamweaver
      8m 30s
    3. Setting image accessibility preferences
      3m 44s
    4. Placing images on the page
      7m 45s
    5. Modifying image properties
      8m 6s
    6. Customizing images through CSS
      6m 4s
    7. Photoshop integration
      5m 16s
    8. Setting external image editing preferences
      2m 7s
    9. Modifying Smart Objects
      4m 9s
    10. Alternate Photoshop workflows
      5m 45s
    11. Using background graphics
      5m 42s
  10. 31m 3s
    1. Link basics
      3m 10s
    2. Setting site linking preferences
      1m 25s
    3. Creating links in Dreamweaver
      4m 55s
    4. Absolute links
      4m 8s
    5. Using named anchors
      4m 26s
    6. Linking to named anchors in external files
      2m 49s
    7. Creating an email link
      5m 16s
    8. Creating CSS-based rollovers
      4m 54s
  11. 39m 17s
    1. CSS structuring basics
      2m 19s
    2. Structuring with DIV tags
      8m 48s
    3. The Box Model
      5m 9s
    4. Understanding floats
      4m 42s
    5. Clearing and containing floats
      4m 47s
    6. Using relative positioning
      3m 7s
    7. Using absolute positioning
      5m 42s
    8. Using fixed postioning
      4m 43s
  12. 51m 26s
    1. Reviewing table structure
      4m 45s
    2. Importing tabular data
      4m 44s
    3. Creating accessible tables
      7m 39s
    4. Using thead and tbody tags
      2m 56s
    5. Basic table styling
      6m 36s
    6. Styling table headers
      5m 13s
    7. Styling column groups
      6m 30s
    8. Creating custom table borders
      4m 24s
    9. Adding user interactivity to tables
      5m 12s
    10. Styling table captions
      3m 27s
  13. 1h 3m
    1. How forms work
      3m 5s
    2. Reviewing form design
      2m 51s
    3. Creating accessible forms
      4m 50s
    4. Setting form properties
      3m 46s
    5. The fieldset and legend tags
      3m 7s
    6. Inserting text fields
      5m 7s
    7. Inserting list menu items
      4m 35s
    8. Inserting radio button groups
      4m 34s
    9. Inserting checkboxes
      3m 15s
    10. Inserting text areas
      3m 37s
    11. Inserting submit buttons
      2m 31s
    12. Styling form elements
      6m 57s
    13. Adding form interactivity
      4m 19s
    14. Using Spry validation widgets
      10m 26s
  14. 35m 51s
    1. Planning for templates
      4m 0s
    2. Creating a new template
      3m 51s
    3. Creating editable attributes
      4m 55s
    4. Creating new pages from a template
      4m 57s
    5. Applying templates to existing pages
      3m 18s
    6. Working with nested templates
      5m 47s
    7. Working with repeating regions
      5m 42s
    8. Modifying templates
      3m 21s
  15. 35m 32s
    1. Behaviors overview
      2m 43s
    2. Getting more behaviors
      4m 44s
    3. Creating disjointed rollovers
      7m 6s
    4. Hiding and showing elements
      6m 7s
    5. Spry overview
      3m 3s
    6. Using Spry widgets
      5m 19s
    7. Adding Spry widgets
      3m 12s
    8. Using Live View and Related Files
      3m 18s
  16. 22m 1s
    1. Inserting Flash files
      3m 59s
    2. Setting properties for Flash
      4m 18s
    3. Dreamweaver and Flash integration
      3m 19s
    4. Encoding Flash video
      6m 55s
    5. Adding Flash video
      3m 30s
  17. 22m 57s
    1. Using the History palette
      3m 45s
    2. Saving history steps with commands
      2m 59s
    3. Creating library items
      4m 55s
    4. Updating library items
      5m 2s
    5. Using Find and Replace
      6m 16s
  18. 23m 50s
    1. The Code toolbar
      4m 35s
    2. Setting code preferences
      4m 24s
    3. Using code hints
      6m 1s
    4. Adding comments
      5m 8s
    5. Finding syntax errors
      3m 42s
  19. 20m 31s
    1. Running sitewide reports
      4m 9s
    2. Checking for broken links
      3m 10s
    3. Validating markup
      1m 52s
    4. Checking for browser compatibility
      3m 14s
    5. Entering remote information
      2m 6s
    6. Synchronizing sites
      3m 26s
    7. Updating and publishing files
      2m 34s
  20. 14s
    1. Goodbye
      14s

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.

Join now Already a member? Log in

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 Dreamweaver CS4 Essential 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.