To illustrate how to set TAG styles the <body> and <h1> tags (for the BODY and the HEADING 1 styles) will be adjusted.

Similar documents
Creating Forms. Starting the Page. another way of applying a template to a page.

Inserting Flash Media

Taking Fireworks Template and Applying it to Dreamweaver

How to create and edit a CSS rule

Layout with Layers and CSS

How to lay out a web page with CSS

Introduction to CSS. Part 1: Simple Text Formatting. Source Files for this Exercise are available on the Course Website DW_CSS intro

Lesson 1 using Dreamweaver CS3. To get started on your web page select the link below and copy (Save Picture As) the images to your image folder.

Creating your first website Part 4: Formatting your page with CSS

Activity 4.1: Creating a new Cascading Style Sheet

Dear Candidate, Thank you, Adobe Education

Microsoft Expression Web Quickstart Guide

Creating a Job Aid using HTML and CSS

Table of contents. DMXzoneUniformManual DMXzone

COMSC-031 Web We S ite Site Development Development- Part 2 Part-Time Instructor: Joenil Mistal November 7, 2013

Dreamweaver Domain 5: Organizing Content by Using Dreamweaver CS5

Figure 1 Properties panel, HTML mode

McMaster Brand Standard for Websites

How to lay out a web page with CSS

Cascading Style Sheets Level 2

Wanted! Introduction. Step 1: Styling your poster. Activity Checklist. In this project, you ll learn how to make your own poster.

Introduction to WEB PROGRAMMING

How to lay out a web page with CSS

ITSE 1401 Web Design Tools Lab Project 4 (Expression Web 4 - Units M, N, O, P) Last revised: 1/9/14

Page Layout Using Tables

Introduction to DreamWeaver CS4

Using Dreamweaver CS6

Introduction to CSS. 2 Sep 13. Derek Peacock. An introduction to defining CSS style rules using tags, classes and ids.

GDES218 Graphic Design for the Web

Introducing Cascading Style Sheets. Cascading Style Sheet Basics Creating Styles Using Styles Manipulating Styles Text Formatting with CSS

COMSC-031 Web Site Development- Part 2

Introduction to HTML and CSS. Arts and Humanities in the Digital Age 2018 CHASE DTP Dr. Paul Gooding

ICT IGCSE Practical Revision Presentation Web Authoring

Creating a Navigation Bar with a Rollover Effect

CSS: The Basics CISC 282 September 20, 2014

Dreamweaver 8. Project 5. Templates and Style Sheets

Dreamweaver CS3 Lab 2

Using Dreamweaver CC. Logo. 4 Creating a Template. Page Heading. Page content in this area. About Us Gallery Ordering Contact Us Links

Welcome Please sit on alternating rows. powered by lucid & no.dots.nl/student

Introduction to Dreamweaver CS3

Gdes2000 Graphic Design for Internet & MM. Dreamweaver: Simple page construction with DIVs.

ORB Education Quality Teaching Resources

By completing this practical, the students will learn how to accomplish the following tasks:

Lab Introduction to Cascading Style Sheets

USING STYLESHEETS TO DESIGN A WEB SITE IN DREAMWEAVER MX 2004

Dreamweaver CS5 Lab 2

Creating and Building Websites

ICT IGCSE Practical Revision Presentation Web Authoring

Creating User-Friendly Databases

CSS worksheet. JMC 105 Drake University

Overview of the Adobe Dreamweaver CS5 workspace

CSS.

Web Development & Design Foundations with HTML5, 8 th Edition Instructor Materials Chapter 3 Test Bank

Using Dreamweaver. 6 Styles in Websites. 1. Linked or Imported Stylesheets. 2. Embedded Styles. 3. Inline Styles

Introduction to DreamWeaver cs3

Reading 2.2 Cascading Style Sheets

Introduction to Microsoft Word

How to use CSS text styles

CS 1100: Web Development: Client Side Coding / Fall 2016 Lab 2: More HTML and CSS

CSS Module in 2 Parts

Lab 1: Introducing HTML5 and CSS3

Session 4. Style Sheets (CSS) Reading & References. A reference containing tables of CSS properties

WEB DESIGN: CONSTRUCTION, FILES, CODE AND COLOURS UNIT NUMBER: H383 34

Client Interview. Interview Topics. Goals and Target Audience. Activity 3.1 Worksheet. Client Name:

CS Multimedia and Communications. Lab 04: Introduction to Dreamweaver (Website Design part 1 of 3)

Create a Web Page with Spry Navigation Bar. March 30, 2010

HTML Forms. 10 September, Dr Derek Peacock. This is a short introduction into creating simple HTML forms. Most of the content is

Dreamweaver 101. Here s the desktop icon for Dreamweaver CS5: Click it open. From the top menu options, choose Site and New Site

Dreamweaver: Web Forms

Using Dreamweaver CS6

Dreamweaver CS4: Layout Guide. Převzato z

In this project, you ll learn how to create your own webpage to tell a story, joke or poem. Think about the story you want to tell.

Chapter 7 Typography, Style Sheets, and Color. Mrs. Johnson

Dreamweaver Template Tutorial - How to create a website from a template

Groupings and Selectors

Table Basics. The structure of an table

Cascading Style Sheets (CSS)

Eng 110, Spring Week 03 Lab02- Dreamwaver Session

CSS. Shan-Hung Wu CS, NTHU

Review Question 1. Which tag is used to create a link to another page? 1. <p> 2. <li> 3. <a> 4. <em>

AGENDA. EMBEDDING FONTS [ Font Files & CSS font-family ] :: Online Font Converter :: ADD font-family css code to style.css

Unit 10 - Client Side Customisation of Web Pages. Week 5 Lesson 1 CSS - Selectors

Lesson 2 Working with Text Using CSS Styles and HTML

Getting Started with CSS Sculptor 3

CSS (CASCADING STYLE SHEETS) LAYOUT: INTRODUCTION ON PAGE BACKGROUNDS. By Ted Mitchell

Book III. Working Like the Pros

Dreamweaver CS4. Introduction. References :

Designing the Home Page and Creating Additional Pages

CS Multimedia and Communications. Lab 06: Webpage Tables and Image Links (Website Design part 3 of 3)

Hands On: Dreamweaver CS3 NEW SPRY Widgets

Web Design and Development Tutorial 03

HTML5 Responsive Notify 2 DMXzone

Making Your PowerPoint Presentations Accessible

<style type="text/css"> <!-- body {font-family: Verdana, Arial, sans-serif} ***set font family for entire Web page***

Dreamweaver Basics Outline

CSS Cascading Style Sheets

Adobe Dreamweaver CC Tutorial

Using Dreamweaver CS6

! " # $%& Html.htm Note: Files under html.htm are created in the previous lab exercises. (Just link it up)

Introduction to Computer Science Web Development

Transcription:

Chapter The formatting of CSS pages is carried out by setting the required styles. There are four different types of styles: Class which are custom styles that you create. You did this in Chapter 12. Tag where you create styles based on HTML tag such as the <body> tag. ID where you set styles on DIV tags. Compound where you set styles on two or more class, tag or ID styles simultaneously. These style types will be used to enhance the page you created in the last two chapters. Setting Tag Styles To illustrate how to set TAG styles the <body> and <h1> tags (for the BODY and the HEADING 1 styles) will be adjusted. 1 Load DreamWeaver and set the FILES panel to the TRAVELWISE2 site. 2 Open the INDEX.HTML page and set the view to SPLIT. A The Body Tag The body tag controls the format of the whole page. You can set some global formats using a style to control the body tag, then make adjustments to other sections. 1 Click on the NEW CSS RULE button in the CSS STY:ES panel to open the NEW CSS RULE dialogue box. 2 Select TAG in the SELECTOR TYPE box, click on the SELECTOR NAME box arrow, select BODY, check that the TW.CSS file is selected in the RULE DEFINITION box and click on OK. Guided Computer Tutorials 2009-1

Learning Adobe DreamWeaver CS4 3 Set the FONT-FAMILY to VERDANA, GENEVA, SANS SERIF, the FONT-SIZE to 14 pixels and the COLOUR to DARK GREY. NOTE: These settings will become the default settings for all the text on the page. 4 Click on the BOX category and set the PADDING and MARGINS top boxes to 0. 5 Click on OK to complete the style and the page should be pushed to the top left corner. NOTE: i Setting the PADDING and MARGINS to 0 ensures that there is no white space at the top when the page is viewed in a browser. ii The BODY style is added to the TW.CSS file in the CSS STYLES panel. All the HTML tags can be controlled in this fashion by creating a CSS style. -2 Guided Computer Tutorials 2009

B Changing Some Text Now that you have set the default text settings some of the text can be altered to create headings or sub-headings. You can modify some of the built in styles or create your own. We will look at both methods. 1 Highlight TRAVELWISE - NEW YORK in the CONTENT region and set it to the HEADING 1 format from the HTML section of the PROPERTIES INSPECTOR. 2 Notice that <h1> tags are placed around the text in the CODE pane. Guided Computer Tutorials 2009-3

Learning Adobe DreamWeaver CS4 C Creating the H1 Style A style can be created based on the H1 tag that will control the format of text set to the H1 format. 1 Click on the NEW CSS RULE button, set the SELECTOR TYPE to TAG and select the H1 tag from the SELECTOR NAME box. 2 Select OK to start the style. 3 Set the FONT-SIZE box to 36 pixels, the FONT-WEIGHT to BOLDER, the COLOUR to DARK RED and select OK. NOTE: You can create styles to control any of the HTML tags that DreamWeaver uses. -4 Guided Computer Tutorials 2009

Defining Class Styles You created CLASS styles in Chapter 12. These are styles you define yourself. To illustrate how to include a CLASS style in the TW.CSS file, a style to format sub-headings will be created. 1 Click on the NEW CSS RULE button at the base of the CSS STYLES panel. 2 Select CLASS for SELECTOR TYPE and in the SELECTOR NAME box enter:.sub_head 3 Check that the TW.CSS file is displayed in the RULE DEFINITION box and select OK. NOTE: The style NAME must be one word. The style will have a. before its name, if you don t include the. DreamWeaver will insert it for you. 4 Set the FONT-FAMILY to ARIAL, HELVETICA, SANS SERIF, the FONT- SIZE to 18 pixels, the FONT-WEIGHT to BOLD and the COLOUR to DARK GREEN. 5 Select OK to create the style. Guided Computer Tutorials 2009-5