Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit D Formatting Text and Using Cascading Style Sheets.

Slides:



Advertisements
Similar presentations
Adobe Dreamweaver CS5 - Illustrated
Advertisements

Learning the Basics – Lesson 1
Chapter 3 Working with Text and Cascading Style Sheets.
Dreamweaver CS4 Concepts and Techniques Chapter 8 Media Objects.
Introducing Cascading Style Sheets  Cascading Style Sheet Basics  Creating Styles  Using Styles  Manipulating Styles  Text Formatting with CSS.
Getting Started with Adobe Dreamweaver CS6. Unit Objectives Define web design software Start Adobe Dreamweaver CS6 View the Dreamweaver workspace Work.
Dreamweaver CS4 Concepts and Techniques Chapter 5 Templates and Style Sheets.
© 2010 Delmar, Cengage Learning Chapter 7 Using Styles and Style Sheets for Design.
Creating a Website. Unit Objectives Plan a website Create a folder for website management Set up a website Add a folder to a website Save a web page Copy.
Chapter 3 Working with Text and Cascading Style Sheets.
Copyright © Texas Education Agency, All rights reserved. 1 Web Technologies Website Development with Dreamweaver.
Dreamweaver CS4 Concepts and Techniques Chapter 7 Page Layout with Frames.
Developing a Web Page. Unit Objectives Plan the page layout Create the head content Set web page properties Create and format text Add links to web pages.
CIS 205—Web Design & Development Dreamweaver Chapter 2.
Adobe Dreamweaver CS4 - Illustrated Developing a Web Page.
Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit C Developing a Web Page.
Project 1: Creating a Dreamweaver Web Page and Local Site 1 Project Objectives Add a background image Open and close panels Display and describe the Property.
Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit F Creating Links and Navigation Bars.
Website Development with Dreamweaver
Project 5 Templates and Style Sheets Dreamweaver MX 2004 Concepts and Techniques.
Formatting Text Unit D. Import Text l Open TripSmart Web Site l Open dmd_1.htm from Unit D data l Save it as newsletter.htm to tripsmart folder l Save.
CIS 205—Web Design & Development Dreamweaver Chapter 5 Using HTML Tables to Lay Out a Page.
Microsoft Expression Web-Illustrated Unit I: Working with Tables.
CIS 205—Web Design & Development Dreamweaver Chapter 1.
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.
Project 2 Adding Web Pages, Links, and Images Dreamweaver MX 2004 Concepts and Techniques.
Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit E Using and Managing Images.
Adobe Dreamweaver CS4 - Illustrated Creating Links and Navigation Bars.
Dreamweaver CS4 Concepts and Techniques Chapter 9 Using Spry to Create Interactive Web Pages.
Adobe Dreamweaver CS5 - Illustrated Unit D: Working with Text and Cascading Style Sheets.
Adobe Dreamweaver CS3 Revealed CHAPTER THREE: WORKING WITH TEXT AND IMAGES.
Dreamweaver CS4 Concepts and Techniques Chapter 2 Adding Web Pages, Links, and Images.
Chapter 1 Creating a Dreamweaver Web Page and Local Site
Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit H Collecting Data with HTML Forms.
Adobe Dreamweaver CS4 - Illustrated Formatting Text Using HTML and CSS Styles.
Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit G Working with Tables and Layers.
Templates and Style Sheets
Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit B Creating a Web Site.
Layers, Image Maps, and Navigation Bars
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.
Macromedia Dreamweaver 8 Revealed AND GRAPHICS WORKING WITH TEXT.
Macromedia Dreamweaver 8 Revealed WEB PAGE DEVELOPING A.
Adobe Dreamweaver CS4 - Illustrated Creating a Web Site.
Adobe Dreamweaver CS3 Developing a Web Page. Planning the Page Layout Use White SpaceUse White Space Limit media objectsLimit media objects KISSKISS Use.
Microsoft Expression Web-Illustrated Unit F: Enhancing a Design with CSS.
HTML Concepts and Techniques Fifth Edition Chapter 3 Creating Web Pages with Links, Images, and Formatted Text.
Adobe Dreamweaver CS4 - Illustrated Using and Managing Images.
Adobe Dreamweaver CS4 - Illustrated Creating a Web Site.
Introducing Dreamweaver. Dreamweaver The web development application used to create web pages Part of the Adobe creative suite.
Adobe Dreamweaver CS4 - Illustrated Collecting Data with Forms Collecting Data with Forms.
Creating and Editing a Web Page Using Inline Styles
Adobe Dreamweaver CS3 Creating a Web Site. Planning a Web Site Research site goals and needsResearch site goals and needs Create a storyboardCreate a.
Adobe Dreamweaver CS5 - Illustrated Unit E:Using and Managing Images.
Building a Website: Layout Fall Overall Structure: Home Page Title Section Title Frame Picture UNCP Math Menu Content Footer Contact Information.
Web and Multimedia Development Copyright © Genetic Computer School 2007WM LESSON OVERVIEW  Use of Tables  Creating Tables  Try It – 1  Creating.
Creating Web Pages with Links, Images, and Embedded Style Sheets
Microsoft Expression Web-Illustrated Unit G: Designing Site Navigation.
Project 1 Creating a Dreamweaver Web Page and Local Site.
Unit Objectives Insert an image Align an image Enhance an image
Project 9 Media Objects.
Learning the Basics – Lesson 1
Chapter A - Getting Started with Dreamweaver MX 2004
Unit Objectives Create a new page Import text Set text properties
Unit I: Collecting Data with Forms
Unit Objectives Understand links and paths Create an external link
Working with Text and Cascading Style Sheets
Using Cascading Style Sheets (CSS)
DREAMWEAVER 8 Creating a Dreamweaver Web Page and Local Site.
Presentation transcript:

Macromedia Dreamweaver 8-- Illustrated Introductory 1 Macromedia Dreamweaver 8 Unit D Formatting Text and Using Cascading Style Sheets

Macromedia Dreamweaver 8--Illustrated Introductory 2 U n i t O b j e c t i v e s Import text Set text properties Create an unordered list Change Preferences for Cascading Style Sheets Create a Style in a new Cascading Style Sheet

Macromedia Dreamweaver 8--Illustrated Introductory 3 U n i t O b j e c t i v e s Apply and edit a Style Add styles to a Cascading Style Sheet Attach a Cascading Style Sheet to a Page Insert rollovers with Flash text

Macromedia Dreamweaver 8--Illustrated Introductory 4 Importing Text Start Dreamweaver, open The Striped Umbrella Web site, open dwd_1.html from the drive and folder where your Unit D Data Files are stored, then save it as spa.html in the striped_umbrella root folder, overwriting the existing file and not updating links Click the gray image box, click the Browse for File icon next to the Src text box on the Property inspector, navigate to the Unit D Data Files assets folder, double-click the_spa.jpg, then click on the page to deselect the image Expand the assets folder on the Files panel if necessary, then if the newly copied file is not visible, click the Refresh button on the Files panel

Macromedia Dreamweaver 8--Illustrated Introductory 5 Importing Text (Win) Click to the right of The Spa, press [Enter], click File on the menu bar, point to Import, click Word Document, navigate to the drive and folder where your Unit D Data Files are stored, then double-click spa.doc (Mac) Navigate to the Unit D Data Files folder, double-click spa.doc, select all, copy, close spa.doc, then paste the copied text on the spa page in Dreamweaver. Click Commands on the menu bar, then click Clean up Word HTML; in the Clean Up word HTML dialog box, click OK, then click OK again Click File on the menu bar, then click Save

Macromedia Dreamweaver 8--Illustrated Introductory 6 Importing Text

Macromedia Dreamweaver 8--Illustrated Introductory 7 Clues to Use Saving a Word file for Importing into Dreamweaver  Do not format the text in Microsoft Word Creating new paragraphs is okayCreating new paragraphs is okay  Apply styles for formatting once the text is imported into Dreamweaver

Macromedia Dreamweaver 8--Illustrated Introductory 8 Importing Text

Macromedia Dreamweaver 8--Illustrated Introductory 9 Setting Text Properties Click to place the insertion point anywhere within the words Spa Services Click the Format list arrow on the Property inspector, then click Heading 4 Select the Spa Services heading, click the Font list arrow on the Property inspector, click Arial, Helvetica, sans-serif, then deselect the text to see the new font applied Select the heading again, click the Text Color button on the Property inspector, use the eyedropper to click # from the Color Picker, then deselect the text to see the new color applied

Macromedia Dreamweaver 8--Illustrated Introductory 10 Setting Text Properties Click to place the insertion point before the O in Our spa services, scroll to the end of the text, press and hold [Shift], click after the end of the last sentence, then release [Shift] Click the Font list arrow on the Property inspector, then click Arial, Helvetica, sans-serif Click the Size list arrow on the Property inspector, then click 3 Click anywhere on the page to deselect the text, save your work, click the Preview/Debug in Browser button on the Document toolbar, click Preview in [your browser name], examine the page, then close the browser

Macromedia Dreamweaver 8--Illustrated Introductory 11 Setting Text Properties

Macromedia Dreamweaver 8--Illustrated Introductory 12 Clues to Use Font sizes  You may change the font to a size between 1 and 7, or a size relative to the default basefont (3)

Macromedia Dreamweaver 8--Illustrated Introductory 13 Creating an Unordered List Select the three items under the Skin Care Treatments heading Click the Unordered List button on the Property inspector to create an unordered list Repeat the previous step to create unordered lists of the items under the Body Treatments, Massages, and Spa Packages headings Click to place the insertion point in any of the items in the first unordered list, click the expander arrow in the lower-right corner of the Property inspector to expand the Property inspector if necessary, then click List Item

Macromedia Dreamweaver 8--Illustrated Introductory 14 Creating an Unordered List Click the Style list arrow, click Square, then click OK Repeat the previous step to format the other three unordered lists Click to place the insertion point before the first item in the unordered list, click the Show Code View button on the Document toolbar to view the code for the unordered list, click the View Options list arrow, then uncheck the Hidden Characters option Click the Show Design View button on the Document toolbar to return to Design View, then save your work

Macromedia Dreamweaver 8--Illustrated Introductory 15 Creating an Unordered List

Macromedia Dreamweaver 8--Illustrated Introductory 16 Clues to Use Ordered lists  Also called numbered list  Contain numbered or lettered items  Dreamweaver uses several options for number styles RomanRoman ArabicArabic

Macromedia Dreamweaver 8--Illustrated Introductory 17 Changing Preferences for Cascading Style Sheets Click Edit (Win) or Dreamweaver (Mac) on the menu bar, then click Preferences Click the General category if necessary, click the check box Use CSS instead of HTML tags to select it, then click OK

Macromedia Dreamweaver 8--Illustrated Introductory 18 Changing Preferences for Cascading Style Sheets

Macromedia Dreamweaver 8--Illustrated Introductory 19 Clues to Use Understanding Cascading Style Sheet Files  File that determines the formatting for various page objects  Single file can contain many individual styles  Styles can be embedded in the code for a single Web page  Some styles can define HTML tags

Macromedia Dreamweaver 8--Illustrated Introductory 20 Clues to Use Using styles without a Cascading Style Sheet  Dreamweaver can automatically create styles for you

Macromedia Dreamweaver 8--Illustrated Introductory 21 Clues to Use Using Cascading Style Sheets  Great timesavers  Can be exported to other Web sites  Not all browsers can read Cascading Style Sheets

Macromedia Dreamweaver 8--Illustrated Introductory 22 Creating a Style in a New Cascading Style Sheet Click Window on the menu bar, then click CSS Styles, if necessary Click the New CSS Rule button on the CSS Styles panel, then verify that the Class (can apply to any tag) and the (New Style Sheet File) option buttons are both selected Type spa_names in the Name text box, then click OK Type su_styles.css in the File name text box (Win) or the Save As text box (Mac), then click Save Click the Font list arrow, then click Arial, Helvetica, sans-serif

Macromedia Dreamweaver 8--Illustrated Introductory 23 Creating a Style in a New Cascading Style Sheet Click the Size list arrow, click 14, leave the size measurement unit as pixels, click the Style list arrow, click normal, click the Weight list arrow, then click bold Click the Color list button, click #000066, as shown in Figure D-12, then click OK Click the Refresh button on the Files panel if necessary to view the su_styles CSS style file Click the Show Code View button on the Document toolbar to view the HTML code linking to the su_styles.css file, click File on the menu bar, then click Save All to save your changes to both the page and the style sheet file

Macromedia Dreamweaver 8--Illustrated Introductory 24 Creating a Style in a New Cascading Style Sheet

Macromedia Dreamweaver 8--Illustrated Introductory 25 Applying and Editing a Style Click the Show Design View button on the Document toolbar to return to Design View Select Revitalizing facial, as shown in Figure D-15, click the Format list arrow in the Property inspector, click None, click the Font list arrow, click Default Font, click the Size list arrow, then click None, click the Style list arrow on the Property inspector, then click spa_names

Macromedia Dreamweaver 8--Illustrated Introductory 26 Applying and Editing a Style Repeat the previous step to remove manual formatting and apply the spa_names style to the names of each of the remaining spa services Click the spa_names style in the CSS Styles panel, then click the Edit Style button on the CSS Styles panel Click the Size list arrow, click 16, then click OK Save your work using the Save All command

Macromedia Dreamweaver 8--Illustrated Introductory 27 Applying and Editing a Style

Macromedia Dreamweaver 8--Illustrated Introductory 28 Clues to Use CSS Style Sheet settings  Format page content other than text Background, borders, lists, and boxesBackground, borders, lists, and boxes  CSS Styles consist of a selector and a declaration

Macromedia Dreamweaver 8--Illustrated Introductory 29 Adding Styles to a Cascading Style Sheet Click the New CSS Rule button on the CSS Styles Panel Type heading in the Name Text box, verify that the Define In text box is set to the su_styles.css file, then click OK Click the Font list arrow, then click Arial, Helvetica, sans-serif Click the Size list arrow, then click 18, click the Weight list arrow, then click bold Click the Color list button, then select color #000066

Macromedia Dreamweaver 8--Illustrated Introductory 30 Adding Styles to a Cascading Style Sheet Click the Block category in the Category list, click the Text Align list arrow, click center, then click OK Select the heading Spa Services, click the Format list arrow in the Property inspector, click None, click the Font list arrow, click Default Font, click the Size list arrow, then click None; if necessary, click the Color list arrow, then click the Strikethrough button Click the Style list arrow on the Property inspector, then click heading Repeat the first 5 steps to add another style called subheading with the Arial, Helvetica, sans-serif font, size 16, normal style, color # Apply the subheading style to each category of spa services, then save your work using the File, Save All command

Macromedia Dreamweaver 8--Illustrated Introductory 31 Adding Styles to a Cascading Style Sheet

Macromedia Dreamweaver 8--Illustrated Introductory 32 Attaching a Cascading Style Sheet to a Page Open the index.html page Click the Attach Style Sheet button on the CSS Styles panel Click Browse next to the File/URL text box, click su_styles.css in the Select Style Sheet File dialog box if necessary, click OK (PC) or Choose (Mac), then click OK to close the Attach External Style Sheet dialog box. Click the New CSS Rule button on the Styles panel, type body_text in the Name text box, then click OK Use the settings shown in Figure D-23 on page 93 to format the new body text style, then click OK

Macromedia Dreamweaver 8--Illustrated Introductory 33 Attaching a Cascading Style Sheet to a Page Select the paragraph of text, click the Font list arrow on the Property inspector, click Default font, click the Size list arrow, then click None to remove the manual formatting from the paragraph Click the Style list arrow on the Property inspector, then click body_text to apply the body_text style Switch to the spa file by clicking its page tab, clear all prior formatting from the paragraphs of text without an assigned style, then apply the body_text style to them Compare your screen to the figure on the following slide, then use the File, Save All command to save all open files

Macromedia Dreamweaver 8--Illustrated Introductory 34 Attaching a Cascading Style Sheet to a Page

Macromedia Dreamweaver 8--Illustrated Introductory 35 Inserting Rollovers with Flash Text Click the insertion point after the last word on the spa page, then press [Enter] (Win) or [return] (Mac) Change to the Common category on the Insert bar if necessary, click the Media button on the Insert bar, then click Flash Text Click the Font list arrow, click Arial if necessary, leave the Size text box as 30, then click the Bold button Click the Color list button, click #000066, click the Rollover Color list arrow, then click #66CCFF (the light blue color in the sixth row in the second column from the right) Type Home in the Text text box, click Browse next to the Link text box, then double-click index.html

Macromedia Dreamweaver 8--Illustrated Introductory 36 Inserting Rollovers with Flash Text Click the Target list arrow, click _self, if necessary, type home.swf in the Save As text box, then click OK Type Link to home page in the Title text box in the Flash Accessibilities dialog box, then click OK Save the file, then preview it in your browser Scroll to the bottom of the page, roll your mouse pointer over Home, click Home, then close the browser Close your files, then Exit (Win) or Quit (Mac) the Dreamweaver program

Macromedia Dreamweaver 8--Illustrated Introductory 37 Inserting Rollovers with Flash Text

Macromedia Dreamweaver 8--Illustrated Introductory 38 U n i t S u m m a r y Import text Set text properties Create an unordered list Change Preferences for Cascading Style Sheets Create a Style in a new Cascading Style Sheet

Macromedia Dreamweaver 8--Illustrated Introductory 39 U n i t S u m m a r y Apply and edit a Style Add styles to a Cascading Style Sheet Attach a Cascading Style Sheet to a Page Insert rollovers with Flash text