CREATING HORIZONTAL NAVIGATION BAR USING ADOBE DREAMWEAVER CS5



Similar documents
CREATING A NEWSLETTER IN ADOBE DREAMWEAVER CS5 (step-by-step directions)

Dreamweaver CS4 Day 2 Creating a Website using Div Tags, CSS, and Templates

Chapter 7 Page Layout Basics Key Concepts. Copyright 2013 Terry Ann Morris, Ed.D

Web Design Basics. Cindy Royal, Ph.D. Associate Professor Texas State University

Using Style Sheets for Consistency

Creating Web Pages with Dreamweaver CS 6 and CSS

Web Design with CSS and CSS3. Dr. Jan Stelovsky

Using Adobe Dreamweaver CS4 (10.0)

Basic tutorial for Dreamweaver CS5

Responsive Web Design for Teachers. Exercise: Building a Responsive Page with the Fluid Grid Layout Feature

CST 150 Web Design I CSS Review - In-Class Lab

{color:blue; font-size: 12px;}

Introduction to Adobe Dreamweaver CC

Outline of CSS: Cascading Style Sheets

Style & Layout in the web: CSS and Bootstrap

Building a Horizontal Menu in Dreamweaver CS3 Using Spry R. Berdan

Adobe Dreamweaver CC 14 Tutorial

Last week we talked about creating your own tags: div tags and span tags. A div tag goes around other tags, e.g.,:

Web Development 1 A4 Project Description Web Architecture

Using an external style sheet with Dreamweaver (CS6)

ITP 101 Project 3 - Dreamweaver

Introduction to Web Design Curriculum Sample

How to create pop-up menus

Further web design: Cascading Style Sheets Practical workbook

CSS. CSS - cascading style sheets CSS - permite separar num documento HTML o conteúdo do estilo. ADI css 1/28

Creating Web Pages With Dreamweaver MX 2004

Web Design and Databases WD: Class 7: HTML and CSS Part 3

Web Design I. Spring 2009 Kevin Cole Gallaudet University

IAS Web Development using Dreamweaver CS4

How to code, test, and validate a web page

HTML CSS Basic Structure. HTML Structure [Source Code] CSS Structure [Cascading Styles] DIV or ID Tags and Classes. The BOX MODEL

Dreamweaver. Introduction to Editing Web Pages

BASICS OF WEB DESIGN CHAPTER 2 HTML BASICS KEY CONCEPTS COPYRIGHT 2013 TERRY ANN MORRIS, ED.D

Creating and Using Links and Bookmarks in PDF Documents

Site Maintenance. Table of Contents

Dreamweaver CS5. Module 1: Website Development

Selectors in Action LESSON 3

CSS for Page Layout. Key Concepts

Web layout guidelines for daughter sites of Scotland s Environment

Terminal 4 Site Manager User Guide. Need help? Call the ITD Lab, x7471

Web Design with Dreamweaver

LaGuardia Community College Thomson Ave, Long Island City, New York Created by ISMD s Dept. Training Team. Overview

What is CSS? Official W3C standard for controlling presentation Style sheets rely on underlying markup structure

Introduction to Macromedia Dreamweaver MX

Sample Table. Columns. Column 1 Column 2 Column 3 Row 1 Cell 1 Cell 2 Cell 3 Row 2 Cell 4 Cell 5 Cell 6 Row 3 Cell 7 Cell 8 Cell 9.

How to create buttons and navigation bars

Microsoft Expression Web Quickstart Guide

Contents. Downloading the Data Files Centering Page Elements... 6

How To Create A Web Page On A Windows (For Free) With A Notepad) On A Macintosh (For A Freebie) Or Macintosh Web Browser (For Cheap) On Your Computer Or Macbook (

MS Word 2007 practical notes

Development Perspective: DIV and CSS HTML layout. Web Design. Lesson 2. Development Perspective: DIV/CSS

ICE: HTML, CSS, and Validation

Kentico CMS 7.0 Personal Site Guide

CSS - Cascading Style Sheets

HTML5 and CSS3 Part 1: Using HTML and CSS to Create a Website Layout

Microsoft FrontPage 2003

ADOBE DREAMWEAVER CS3 TUTORIAL

Magento Responsive Theme Design

Google Docs Basics Website:

JJY s Joomla 1.5 Template Design Tutorial:

Web Developer Jr - Newbie Course

Web Design for Print Designers WEB DESIGN FOR PRINT DESIGNERS: WEEK 6

CONTENTM WEBSITE MANAGEMENT SYSTEM. Getting Started Guide

Microsoft Word 2013 Tutorial

Microsoft Word Quick Reference Guide. Union Institute & University

Adobe Illustrator CS6. Illustrating Innovative Web Design

Fortis Theme. User Guide. v Magento theme by Infortis. Copyright 2012 Infortis

Create a Web Page with Dreamweaver

Cascading Style Sheet (CSS) Tutorial Using Notepad. Step by step instructions with full color screen shots

USD WEB SERVICES ADOBE DREAMWEAVER CSS DEVELOPMENT

Creating Interactive PDF Forms

Create a Poster Using Publisher

Designing HTML s for Use in the Advanced Editor

CHAPTER 10. When you complete this chapter, you will be able to:

History Explorer. View and Export Logged Print Job Information WHITE PAPER

Introduction to Drupal

Garfield Public Schools Fine & Practical Arts Curriculum Web Design

Chapter 14: Links. Types of Links. 1 Chapter 14: Links

Coding Standards for Web Development

Web Building Blocks. Joseph Gilbert User Experience Web Developer University of Virginia Library

ADOBE MUSE. Building your first website

ebooks: Exporting EPUB files from Adobe InDesign

How To Insert Hyperlinks In Powerpoint Powerpoint

Instructions for Creating a Poster for Arts and Humanities Research Day Using PowerPoint

Contents. Introduction Downloading the Data Files... 2

Umbraco v4 Editors Manual

Web Design & Development - Tutorial 04

Cascade Server. End User Training Guide. OIT Training and Documentation Services OIT TRAINING AND DOCUMENTATION.

-SoftChalk LessonBuilder-

Web Authoring CSS. Module Descriptor

Introduction. Inserting Hyperlinks. PowerPoint 2010 Hyperlinks and Action Buttons. About Hyperlinks. Page 1

NDSU Technology Learning & Media Center. Introduction to Google Sites

Dreamweaver. Links and Tables

Transcription:

CREATING HORIZONTAL NAVIGATION BAR USING ADOBE DREAMWEAVER CS5 Step 1 - Creating list of links - (5 points) Traditionally, CSS navigation is based on unordered list - <ul>. Any navigational bar can be thought of as a list or links. The first step is to create a list of links and then to remove bullets, margins and paddings that all lists have in default. 1. In the Code view, place the cursor inside the #navholder. In the Properties panel click the unordered list button to start unordered list as shown below: <div id="navholder"> <ul> <li></li> </ul> </div> <!-- end of #navholder --> 2. Make sure your mouse pointer is placed between <li> and </li> tags. Return to the Design view. Type home and click Enter, type portfolio and click Enter, type resume, and click Enter, type contact and click Enter. Click Enter twice to exit from the list. The list is completed.

Step 2 - Adding anchors - (5 points) 1. Add the anchor tag to each list item. In Design view, select the home text. In the Properties panel, locate the Link field. Type index.html in this field. Click Enter to complete the link. 2. Do the same for the rest of menu items entering the following names: portfolio.html, resume.html, contact.html. In the Code view, review the list of links <ul> <li><a href="index.html">home</a></li> <li><ahref="portfolio.html">portfolio</a></li> <li><a href="resume.html">resume</a></li> <li><a href="contact.html">contact</a></li> </ul> Design View

The list of links is created inside of the DIV #navholder. Step 3 - Styling lists of links - (10 points) 1. First, we will create an ID for the list (We need this to set up styles for unordered list (<ul>). You may include unordered lists somewhere else on the same page; but you don t want other lists look like navigation buttons. To solve this issue, we will give a unique ID to our navigation menu. Let s name it #nav. 2. Go to the CSS STYLES panel and click New CSS Rule button (+). In the New Style dialog box, type #nav in the Selector name field. Make sure that Choose where your rule will be defined drop-down menu displays main.css your external css file. Click OK. The CSS Rule Definition dialog box appears. 3. In the Box category set the Margin and Padding (the Same for All sides) to zero. This will remove the default left indent. Click OK to close the window 5. Apply the ID #nav to the <ul>. To do so, click the <ul> tag in the Tag Selector (at the bottom of the document window) to select it. 6. Right-click the selected <ul> and choose Set ID > nav (shown below)

This will apply id #nav to our list Step 4 - Styling list items - <li> - (10 points) Now we will set styles for list items <li>. 1. Click any link. In the Tag Selector click the <li> tag to select it. 2. With the <li> selected, go to the CSS STYLES panel and click the New CSS Rule button (+) 3. In the New CSS Rule dialog box, remove the #wrapper selector to make the rule less Specific (shown below). Click OK. 4. The CSS Rule Definition window appears. In the Box category: a. set the Margin and Padding to zero (Same for all). b. Set the Float property to left. The float:left will move all the list items to the left, so they will appear one after another as one row of links. c. Click Apply button. 5. Click the Block category. Locate the Display drop-down list and choose inline from the list. Display: inline turns block-level elements into inline elements. <li> is a block-level element. This will reinforce the horizontal orientation of the items in the menu. 6. Click the Apply button.

6. In the List category, click the list-style-type drop-down arrow and set the Type to none. This will remove the bullets from the list. 7. Click OK. The menu should look as shown below: Step 5 - Styling links - (10 points) The next step is to style the links inside the <li>. We will change the links into rollover buttons. This can be accomplished by changing the <a> tag to block-level element. Once the <a> tag is a block-level element, you can assign width, height, padding, and background image to your links. 1. Click on one of the list items. In the Tag Selector bar, click the <a> to select it 2. With the <a> selected, go to the CSS STYLES panel and click the New CSS Rule button (+) 3. The New CSS Rule window opens. 4. In the Selector Type field remove the selector and type the following: #nav a:link, #nav a:visited, #nav a:active (Unfortunately, you have to enter the group of styles manually)

Click OK. There are 4 states of the anchor tag in CSS: a:link (unvisited) a:visited (visited link) a:active (link that is currently clicked) a:hover (a link is hovered when the mouse moves over it) 5. In the CSS Rule Definition window, click the Type Category and establish the following settings: a. Type :Arial, Helvetica, sans-serif b. Size: 12px c. Color: #333333; Set the Text-Decoration to none by clicking none check box.

5. Click the Apply button. 6. In the Block category: a. set Text-align to center. b. Set Letter-spacing to 2px. c. set Display property to block. The display: block definition allows you to turn inline element into block-level so you can set width, height, padding and background properties to the anchor tags. 7. In the Background category, click Browse button and choose the image for the background. I used file nav_back.png. Note: you can use background-color instead. Set Repeat property to repeat-x. 8. In the Box category, establish the following settings: a. set Width to 120 pixels b. set Height to 21 pixels. pixels. c. In the Padding section, uncheck the Same for All checkbox and set the padding-top to 4 9. Click the Border category. Uncheck the Same for All checkbox. Click the Right drop-down menu, and set the value to solid. In the Width field, set the value to 1 pixel, set the Color to #777. 10. Click OK. 11. Preview your menu in the web browser by clicking F12. Step 6 - Creating styles for a:hover state - (10 points) 1. In the CSS STYLES panel, click the New CSS Rule button (+). 2. In the New CSS Rule window type #nav a:hover in the Selector field. Click OK. 3. In the CSS RULE Definition window click the Background Category. For the Hover state we need to change the background image (or color) only. The links in the hover state will inherit the styles from the unvisited and visited link states.

4. Set the background to the image of your choice. Set repeat to repeat-x. (Alternatively, you can set Background-color to a color of your choice). Note: If you use dark background color, go to the Type category and set the Color: to white to provide good foreground/background contrast. 4. Click OK. Navigation is competed. You can save your files (File > Save All) and click F12 to preview the menu. Navigate the menu items to view the rollover effect.