Sign In | Subscribe
Start learning today, and be successful in your academic & professional career. Start Today!
Loading video...
This is a quick preview of the lesson. For full access, please Log In or Sign up.
For more information, please see full course syllabus of Adobe Dreamweaver CC
  • Discussion

  • Study Guides

  • Download Lecture Slides

  • Table of Contents

  • Related Books

Bookmark and Share

Start Learning Now

Our free lessons will get you started (Adobe Flash® required).
Get immediate access to our entire library.

Sign up for

Membership Overview

  • Unlimited access to our entire library of courses.
  • Search and jump to exactly what you want to learn.
  • *Ask questions and get answers from the community and our teachers!
  • Practice questions with step-by-step solutions.
  • Download lesson files for programming and software training practice.
  • Track your course viewing progress.
  • Download lecture slides for taking notes.
  • Learn at your own pace... anytime, anywhere!

Adding Styles to the Header & Navigation Area

  • We are going to add CSS styles for the header and nav tags on the page
  • Add a new style rule on the page for the header tag
  • Select the header in the selector area of CSS Designer and add the following properties to the header tag:
  • 	header:
    	 {width: 100%; background-color: rgb(107,152,242); margin-top:15px padding-left:45px; color: white;}
  • Add a new style rule on the page for the nav tag
  • Select the nav tag in the selector panel of CSS Designer and add the following properties to the nav tag:
  • 	nav:
    	 {width: 80%; background-color: rgb(255,172,97); height: 20px; margin-top: 5px, margin-right:15px;
    	 margin-bottom: 5px, margin-left: 15px; padding: 5px 15px 5px 15px; background-color: #ffac61;}

Adding Styles to the Header & Navigation Area

Lecture Slides are screen-captured images of important points in the lecture. Students can download and print out these lecture slide images to do practice problems as well as take notes while watching the lecture.

  • Intro 0:00
  • CSS Designer 0:41
  • Adding Styles 1:04
    • Assign Properties
    • Add Selector
    • Deleting Selectors
  • Header 1:56
    • Properties
    • Layout Type Features
  • Adjusting Header Width 2:44
    • 100% of the Width
  • Background 3:54
    • Color
  • Adding Margin Top 4:53
    • Text Color
  • Navigation 6:59
    • Assign Color
    • Adding Margin