Chapter 3 Working with Text and Cascading Style Sheets.

Slides:



Advertisements
Similar presentations
Chapter 1: Introduction. Contents Whats New in Dreamweaver CS4? The Dreamweaver CS4 Interface Setting Up a Site Creating a Web Page Adding Text to Your.
Advertisements

Learning the Basics – Lesson 1
Project 8 Creating Style Sheets.
Creating and Editing a Web Page Using Inline Styles
Chapter 8 Creating Style Sheets.
Web Design with Cascading Style Sheet Lan Vu. Overview Introduction to CSS Designing CSS Using Visual Studio to create CSS Using template for web design.
Ch. 5 Web Page Design – Templates and Style Sheets Mr. Ursone.
Chapter 12 Creating and Using Templates. If you have already created and designed a page you like, you can use the layout and design for other pages in.
Chapter 3 Working with Text and Cascading Style Sheets.
Introducing Cascading Style Sheets  Cascading Style Sheet Basics  Creating Styles  Using Styles  Manipulating Styles  Text Formatting with CSS.
Creating Tables in a Web Site Using an External Style Sheet HTML5 & CSS 7 th Edition.
Tutorial 3: Adding and Formatting Text. 2 Objectives Session 3.1 Type text into a page Copy text from a document and paste it into a page Check for spelling.
Working with Text and Cascading Style Sheets Adobe Dreamweaver Chapter 3.
Getting Started with Dreamweaver
© 2011 Delmar, Cengage Learning Chapter 2 Developing a Web Page.
Chapter 4 Dreamweaver: Part II The Web Warrior Guide to Web Design Technologies.
© 2010 Delmar, Cengage Learning Chapter 7 Using Styles and Style Sheets for Design.
Dreamweaver MX. 2 Creating External Style Sheets-1 (p. 400) n A style is a group of formatting attributes identified by a single name. n An ________ style.
Cascading Style Sheets Dreamweaver. Styles Determine how the HTML code will display Determine how the HTML code will display Gives designers much more.
Advanced CSS - Page Layout. Advanced CSS  Compound Selectors:  Is a Dreamweaver term, not a CSS term.  Describes more advanced types of selectors such.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Macromedia Studio 8 Step-by-Step MACROMEDIA DREAMWEAVER 8 Introduction.
Using Styles and Style Sheets for Design
© Ms. Masihi.  The Dreamweaver Welcome Screen first opens when you start Dreamweaver.  This screen gives you quick access to previously opened files,
Chapter 2 Developing a Web Page. A web page is composed of two distinct sections: –The head content –The body Creating Head Content and Setting Page Properties.
XP Dreamweaver 8.0 Tutorial 3 1 Adding Text and Formatting Text with CSS Styles.
 This presentation introduces the following: › 3 types of CSS › CSS syntax › CSS comments › CSS and color › The box model.
Copyright © 2013 MyGraphicsLab / Pearson Education STRUCTURE AND HTML TAGS MyGraphicsLab: Adobe Dreamweaver CS6 ACA Certification Preparation for Web Communication.
CIS 205—Web Design & Development Dreamweaver Chapter 5 Using HTML Tables to Lay Out a Page.
Working with Text and Cascading Style Sheets. Unit Objectives Create a new page Import text Set text properties Create an unordered list Understand Cascading.
Formatting TEXT AND Using CSS. Adobe Dreamweaver CS3 - Illustrated.
Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit D Formatting Text and Using Cascading Style Sheets.
Bare bones slide show. The format is text files, with.htm or.html extension. Hard returns, tabs, and extra spaces are ignored. DO NOT use spaces in file.
Chapter 2 Developing a Web Page. A web page is composed of two distinct sections: – The head content – The body Creating Head Content and Setting Page.
IT204 - Web Scripting and Authoring I Introduction to Dreamweaver Unit 6.
© 2011 Delmar, Cengage Learning Chapter 8 Using Styles and Design Style Sheets for Design.
Adobe Dreamweaver CS5 - Illustrated Unit D: Working with Text and Cascading Style Sheets.
Cascading Style Sheets Dreamweaver. Styles Determine how the HTML code will display Determine how the HTML code will display Gives designers much more.
Adobe Dreamweaver CS3 Revealed CHAPTER THREE: WORKING WITH TEXT AND IMAGES.
Chapter 1 Creating a Dreamweaver Web Page and Local Site
Use CSS to Implement a Reusable Design Selecting a Dreamweaver CSS Starter Layout is the easiest way to create a page with a CSS layout You can access.
Macromedia Dreamweaver MX 2004 Design Professional And Graphics WORKING WITH TEXT.
Introducing Cascading Style Sheets. Cascading Style Sheet Basics  Cascading Style Sheet Basics  Creating Styles  Using Styles  Manipulating Styles.
© 2011 Delmar, Cengage Learning Chapter 3 Working with Text and Cascading Style Sheets.
Tutorial 3 Adding and Formatting Text with CSS Styles.
Macromedia Dreamweaver 8 Revealed AND GRAPHICS WORKING WITH TEXT.
DYNAMIC HTML What is Dynamic HTML: HTML code that allow you to change/ specify the style of your web pages. Example: specify style sheet, object model.
Macromedia Dreamweaver 8 Revealed WEB PAGE DEVELOPING A.
Dreamweaver MX. 2 Tools for Code Editing (p. 366) n An HTML editor like Dreamweaver writes most of the code you need, but at times you will need to perform.
Microsoft Expression Web 3 – Illustrated Unit D: Structuring and Styling Text.
Introducing Dreamweaver. Dreamweaver The web development application used to create web pages Part of the Adobe creative suite.
Creating and Editing a Web Page
Creating and Editing a Web Page Using Inline Styles
© 2010 Delmar, Cengage Learning Chapter 11 Creating and Using Templates.
Practice for Chapter 3: Assume that you are a freelance web designer and need to create a website to promote your freelance company.
Creating Web Pages with Links, Images, and Embedded Style Sheets
CASCADING STYLE SHEET CSS. CSS stands for Cascading Style Sheets Styles define how to display HTML elements Styles were added to HTML 4.0 to solve a problem.
Getting Started with Dreamweaver
Working with Text and Cascading Style Sheets
Chapter 2 Developing a Web Page.
Learning the Basics – Lesson 1
Chapter A - Getting Started with Dreamweaver MX 2004
Unit Objectives Create a new page Import text Set text properties
Working with Text and Cascading Style Sheets
Getting Started with Dreamweaver
Using Cascading Style Sheets (CSS)
Using Templates and Library Items
Exercise 9 Skills You create and use styles to create formatting rules that can easily by applied to other pages in the Web site. You can create internal.
Presentation transcript:

Chapter 3 Working with Text and Cascading Style Sheets

Chapter 3 Lessons Introduction 1.Create unordered and ordered lists. 2.Create, apply, and edit Cascading Style Sheets. 3.Add rules and attach Cascading Style Sheets. 4.Use coding tools to view and edit rules

Formatting Text as Lists Breaks up text Increases readability Three types of lists: – Unordered – Ordered – Definitions Introduction

Cascading Style Sheets Formatting instructions that control the appearance of content on a web page Benefits: – Saves you time – Ensures consistency – Can apply formatting attributes to an entire site Introduction

Creating and Formatting Lists Unordered or bulleted lists – Preceded by bullet or small dot or similar icon (Click List Item in Property Inspector to modify) – Select paragraphs of text to be included in list  Click the Unordered List button in HTML Property inspector – Default bullet style is a round dot Ordered or numbered lists – Preceded by numbers or letters in a sequence (Click List Item in Property Inspector to modify) – Select paragraphs of text to be included in list  Click the Ordered List button in HTML Property inspector – You can apply numbers, Roman numerals, lowercase letters, or uppercase letters to an ordered list. Lesson 1: Create Unordered and Ordered List

Expanded Property Inspector Property Inspector expanded to full size Lesson 1: Create Unordered and Ordered List Unordered (bulleted) list button List item (Properties) button Click arrow to collapse Property inspector Ordered (numbered) list button

Formatting a List Style Lesson 1: Create Unordered and Ordered List List type list box Ordered/Unordered list styles

Creating Definition Lists Definition lists do not have bullets Select paragraphs of text to be included in list Click Format  List  Definition List Lesson 1: Create Unordered and Ordered List

Cascading Style Sheets (CSS) CSS made up of rules – Define the formatting attributes for individual styles – Are classified by where the code is stored CSS also classified by type 1.Class – used to format any page element 2.ID & Tag – used to redefine an HTML tag 3.Compound – used to format a selection CSS saving options 1.External style sheet – saved as a separate file saved as.css and stored in directory structure of website 2.Internal or embedded – part of head content of individual page 3.Inline style – part of the body of HTML code Lesson 2: Create, Apply, and Edit Cascading Style Sheets

New CSS Rule Dialog Box Lesson 2: Create, Apply, and Edit Cascading Style Sheets Class option for Selector Type New style name Rule Definition list arrow

Cascading Style Sheet File Lesson 2: Create, Apply, and Edit Cascading Style Sheets New Cascading Style Sheet file

Using the CSS Styles Panel To create, edit, and link a CSS style Apply CSS styles to a single page or all pages in a website Used for managing your styles Lesson 2: Create, Apply, and Edit Cascading Style Sheets

Advantages of Style Sheets 1.Save an enormous amount of time 2.Uniform look 3.Cleaner code 4.Separates development of content from presentation 5.Compliant with current accessibility standards Lesson 2: Create, Apply, and Edit Cascading Style Sheets

Understanding CSS Style Sheet Code The selector is the name of the tag to which the style declarations have been assigned. The declaration consists of the property and the value. Lesson 2: Create, Apply, and Edit Cascading Style Sheets

Applying a CSS Rule 1. Select Text Lesson 2: Create, Apply, and Edit Cascading Style Sheets 2. Change Properties Inspector to View CSS 3. Click Targeted Link to apply rule to selected text

Editing a Rule A Rule Can be edited either in: – CSS Style Panel – Code View Lesson 2: Create, Apply, and Edit Cascading Style Sheets 2. Select Property to Edit 1.Select Rule from CSS Styles Panel 3. Choose Modification from list arrow

External and Embedded Style Sheets External.css files are stored outside of the web page Embedded style sheets created automatically by Dreamweaver and are stored within web page To embed a style sheet: – Access the New CSS Rule Dialog Box – Under Rule Definition, select This Document Only Code stored in Head content of file Named style1, style2, etc. (can be renamed) Lesson 3: Add Rules and Attach Cascading Style Sheets

Attaching a Style Sheet to a Page Created to ensure a consistent appearance to your site To attach a style sheet: 1.Click Style Sheet button on CSS Styles panel (opens Attach External Style Sheet dialog box) 2.Check to verify Add as Link option is selected 3.Browse to locate the file you want to attach 4.Click OK New rules will appear in CSS Styles panel to be applied to text on page If you make change to rule it affects every objected formatted by it Lesson 3: Add Rules and Attach Cascading Style Sheets

Attaching a Style Sheet to a Page – cont. su_styles.css style sheet selected Link option button Lesson 3: Add Rules and Attach Cascading Style Sheets

Related Files When an HTML file is linked to other files necessary to display the page content, these files are called related files. It takes both the HTML file and the CSS file working together to display the content properly. Lesson 3: Add Rules and Attach Cascading Style Sheets CSS File HTML File

Coding Tools in Dreamweaver Coding toolbar is displayed on the left side of the Document window – Designed to remain stationary – Cannot move it, but you can hide it Remember that you have several View options you can also use while viewing your code. – Word Wrap, Line Numbers, Hidden Characters, Highlight Invalid Code, Syntax Coloring, and Auto Indent Lesson 4: Using Coding Tools to View and Edit Styles

Using Coding Tools to Navigate Code Collapse sections of code as your page gets longer and code more complex. Using the Collapse Full Tag or Collapse Selection buttons on the Coding toolbar will allow you to look at two different sections of code that are not adjacent to each other in the code Apply comments to add documentation to your code Code containing errors can be identified and fixed by using the Highlight Invalid Code command Lesson 4: Using Coding Tools to View and Edit Styles

Using Code Hints to Streamline Coding As you are typing code, Dreamweaver will recognize the tag name and offer you choices to complete the tag simply by clicking a tag choice in the menu Lesson 4: Using Coding Tools to View and Edit Styles

Converting Styles To convert one type of style to another you can: 1.In Code View  select style  right click  point to CSS Styles and then Move CSS Rules 2.In CSS Styles Panel  select style  right click  Move CSS Rules 3.In CSS Styles Panel  select style  drag to new location Lesson 4: Using Coding Tools to View and Edit Styles