computer class tutorial notes Adobe Macromedia Dreamweaver 8 Tutorial: Using CSS with Dreamweaver 8

Similar documents
Learnem.com. Web Development Course Series. Quickly Learn. Web Design Using HTML. By: Siamak Sarmady

Introduction to Adobe Dreamweaver CC

ADOBE DREAMWEAVER CS3 TUTORIAL

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

Microsoft Word 2011: Create a Table of Contents

ITNP43: HTML Lecture 4

How to create pop-up menus

IT3504: Web Development Techniques (Optional)

Microsoft Expression Web

IT3503 Web Development Techniques (Optional)

Web Design & Development - Tutorial 04

Dreamweaver: Getting Started Website Structure Why is this relevant?

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

Designing HTML s for Use in the Advanced Editor

Web. Programming. Hans- Pe0er Halvorsen, M.Sc. h0p://home.hit.no/~hansha/?page=sojware_development

Using Adobe Dreamweaver CS4 (10.0)

Creating a Resume Webpage with

Adobe Dreamweaver CC 14 Tutorial

Using an external style sheet with Dreamweaver (CS6)

Web design 2: creating web pages and site management using Dreamweaver MX

CSS for Page Layout. Key Concepts

Programming exercises (Assignments)

Using Style Sheets for Consistency

UNPAN Portal Content Management System (CMS) User Guide

ART 379 Web Design. HTML, XHTML & CSS: Introduction, 1-2

Creating Your Personal Website

Appendix H: Cascading Style Sheets (CSS)

A send-a-friend application with ASP Smart Mailer

Dreamweaver. Introduction to Editing Web Pages

GEOG 351: Multimedia Cartography Lab Simon Fraser University Department of Geography Lab #1: Creating your own website

Website Development Komodo Editor and HTML Intro

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

Website Builder Overview

Dreamweaver and Fireworks MX Integration Brian Hogan

Scoop Hosted Websites. USER MANUAL PART 4: Advanced Features. Phone: scoop@scoopdigital.com.au Website: scoopdigital.com.

Module 6 Web Page Concept and Design: Getting a Web Page Up and Running

FETAC Certificate in Multimedia Production. IBaT College Swords. FETAC Certificate in Multimedia Production Web Authoring Dreamweaver 3

Intro to Web Development

ITP 101 Project 3 - Dreamweaver

Creating Web Pages With Dreamweaver MX 2004

TUTORIAL 4 Building a Navigation Bar with Fireworks

Google Sites: Site Creation and Home Page Design

Outline of CSS: Cascading Style Sheets

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

Fireworks CS4 Tutorial Part 1: Intro

Contents. Introduction Downloading the Data Files... 2

The first thing to do is choose if you are creating a mail merge for printing or an merge for distribution over .

Macromedia Dreamweaver Tutorial

Web Authoring CSS. Module Descriptor

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. Web Design in Nvu Workbook 1

Interactive Data Visualization for the Web Scott Murray

Basics. a. Click the arrow to the right of the Options button, and then click Bcc.

Requirements for Developing WebWorks Help

How To Use Dreamweaver With Your Computer Or Your Computer (Or Your Computer) Or Your Phone Or Tablet (Or A Computer)

Madison Area Technical College. MATC Web Style Guide

CSC9B2 Spring 2015 Web Design Practical 1: Introduction to HTML 5

Getting Started with WebSite Tonight

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

ITCS QUICK REFERENCE GUIDE: EXPRESSION WEB SITE

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

Members of staff may also phone for assistance at any time during the college day (extension 3277).

Create a Web Page with Dreamweaver

Create Your own Company s Design Theme

Web Development. How the Web Works 3/3/2015. Clients / Server

MCH Strategic Data Best Practices Review

Using the Acrobat tab in Microsoft Word: Setting PDF Preferences

Using JCPS Online for Websites

Level 1 - Clients and Markup

Lesson Overview. Getting Started. The Internet WWW

HTML TIPS FOR DESIGNING

Introduction to Web Technologies

Internet Technologies_1. Doc. Ing. František Huňka, CSc.

Web Developer Jr - Newbie Course

HOW TO CREATE AN HTML5 JEOPARDY- STYLE GAME IN CAPTIVATE

Step 2 Open Kompozer and establish your site. 1. Open Kompozer from the Start Menu (at the Polytechnic) or from the downloaded program.

Using Microsoft Word. Working With Objects

Migrating and Maintaining FrontPage 2003 Web Sites

CREATING HORIZONTAL NAVIGATION BAR USING ADOBE DREAMWEAVER CS5

Creating Web Pages with Dreamweaver CS 6 and CSS

Adobe Dreamweaver Student Organizations Publishing Details Getting Started Basic Web Page Tutorial For Student Organizations at Dickinson College *

DREAMWEAVER BASICS. A guide to updating Faculty websites Created by the Advancement & Marketing Unit

Web Editing Basics 1 TOPICS

UHR Training Services Student Manual

Microsoft Expression Web Quickstart Guide

Introduction to Macromedia Dreamweaver MX

Create Signature for the Scott County Family Y

File types There are certain image file types that can be used in a web page. They are:

Unit 21 - Creating a Button in Macromedia Flash

Cascading Style Sheets

<?xml version= 1.0?> <!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN

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

U.S. Coast Guard Auxiliary Department of User Services Dynamic Web Template User Guide. Version:

IAS Web Development using Dreamweaver CS4

NUI Galway Web Training Presentation

Dreamweaver CS5. Module 2: Website Modification

Content Author's Reference and Cookbook

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. Web Design in Nvu Workshop Session Plan

Overview. Understanding Web Design. Big Ideas. Goals & Audience. Theme. Theme. Big ideas. Goals & Audience Theme Navigation

Inspiring Creative Fun Ysbrydoledig Creadigol Hwyl. Web Design in Nvu Workbook 2

Transcription:

Farnham Street Neighbourhood Learning Centre 28 Farnham Street Flemington Victoria 3031 Australia Tel: 9376 9088 Fax: 9376 7739 Email: info@fsnlc.org Web: www.fsnlc.org ABN: 30 202 169 571 computer class tutorial notes Multimedia Level 2 Adobe Macromedia Dreamweaver 8 Tutorial: Using CSS with Dreamweaver 8 Important: Before starting this tutorial you should have some experience with Dreamweaver 8 and CSS. You should have completed the Setting up your site in Dreamweaver 8 and Using CSS with HTML tutorials Dreamweaver, CSS and the W3C rules Dreamweaver (DW) 8 automatically creates CSS. This is because DW 8 writes HTML that is W3C compliant, that is it follows the rules set by the World Wide Web Consortium (W3C). DW 8 also highlights errors in your documents. These errors are browser specific. That means that the error messages will tell you if your page will have problems displaying in Internet Explorer, Netscape, Firefox or Opera. It is important to remember that browsers don t follow all the rules set by W3C. In addition to this W3C rules are changed often. Companies that release browsers are very competitive and browsers are updated very often. It is best to try to test your page in the most common and also in the latest versions of the most popular browsers, rather than trying to follow all W3C rules. Adobe Macromedia Dreamweaver 8 Tutorial: Using CSS with Dreamweaver 8 Page 1 of 6

The CSS hierarchy CSS have a hierarchy. This means that some methods of including CSS code in your document are more powerful than others. If you include CSS in your website you need to understand this, or your code may not work. This is the CSS hierarchy from weakest to strongest: Browser default This just means that you have no CSS code for a section of your web page; maybe because your website is old, or it was built with an old HTML editor, or maybe you have left out CSS deliberately. The browser will display your web page using the browser defaults for text size, colour and so on. External CSS Style Sheet This is the best way to include CSS if you want to build a large website that needs to be standardised and easily updated. The CSS reference has to be inserted in the <head> section of each webpage. The CSS code is saved as a.css file inside your web folder. This tutorial will show you how to insert a external CSS Style Sheet in your website. Internal CSS This is a good way of including CSS in your document if you are building just a few web pages, or if you want to ignore part of a CSS style sheet inside a large web site. The CSS code is written inside the <head> section of your document. Inline CSS This is not a good way to include CSS. Inline CSS quickly becomes very confusing and you have to update your document line by line. However this is the default way that DW 8 will include CSS in your document if you simply apply styles in your document. It also resembles HTML more than the other methods of inserting CSS so it may superficially appear a good way to write code. Inline CSS will cause your internal CSS and your CSS style sheet to be ignored. If your internal CSS and your CSS style sheet are not working it is probably because you have accidentally inserted inline CSS. Adobe Macromedia Dreamweaver 8 Tutorial: Using CSS with Dreamweaver 8 Page 2 of 6

External CSS Style Sheet using DW 8 1. Create a web folder 2. Start DW 8 3. Set up your web site 4. Start a new CSS sheet 5. Write your CSS code: body { background-color: #0000FF; color: #FFFF00; } h1 { h2 { p { text-align: center; font: x-large; color: #FF0000; } font-size: large; color: #FFFFFF;} text-align: left;} Adobe Macromedia Dreamweaver 8 Tutorial: Using CSS with Dreamweaver 8 Page 3 of 6

6. Save the document as.css file Click File Save as Select your web folder Write the name of your file: my_style_sheet.css Close the CSS sheet 7. Start a new web page 8. Write your document (Remember: don t use any styles) Hello [Enter] This is my web page [Enter] The CSS code is in my Style Sheet [Enter] 9. Save your webpage Click File Save as Select your web folder Write the name of your file: index.html 10. Attach the CSS Style Sheet Click Style Click Attach Style Sheet Click Browse Select and click your style sheet Click OK Your document will now be formatted according to your style sheet. Adobe Macromedia Dreamweaver 8 Tutorial: Using CSS with Dreamweaver 8 Page 4 of 6

11. Apply the CCS code to your web page Select the first sentence Hello Click Format Select Heading 1 Select the second sentence This is my web page Click Format Select Heading 2 Select the third sentence The CSS code is in my Style Sheet Click Format Paragraph 12. Save your document Click File Save Close your web page 13. Create a new web page Open a new HTML document Write your text Attach the your style sheet to the page Apply the CSS code to your web page Save your document as page2.html 14. Test your web page Press F12 Press Ctrl-F12 Close your browsers Close your web page Adobe Macromedia Dreamweaver 8 Tutorial: Using CSS with Dreamweaver 8 Page 5 of 6

15. Edit your CSS Style Sheet Open my_style_sheet.css Edit the CSS code: body { background-color: #000000; color: #FFFFFF; } h1 { h2 { p { text-align: center; font: xx-large; color: #00FFFF; } font-size: large; color: #FFFF66;} text-align: left;} Save the file and close 16. Test your web pages Open index.html and page2.html Press F12 and Ctrl-F12 Consider the way your documents now look Edit your documents Edit your CSS Stye sheet if necessary Save your documents Save your CSS Style Sheet Save your web folder. Your project is complete. Adobe Macromedia Dreamweaver 8 Tutorial: Using CSS with Dreamweaver 8 Page 6 of 6